A load word instruction is immediately followed by a branch instruction.
lw r1, (0)r2; Beq r2, r3, target;
To produce a execution diagram, I write
IF ID EX MEM WB IF ID * EX where * means bubble?
But is it correct to stall like this as well?
IF ID EX MEM WB * IF ID EX
I just want to understand if both ways are possible. Also, what hardware manipulation is involved for such stalls?
