Question: 3. For the following code, rearrange the code to use the branch delay slot so the outcome of the program is not changed and

3. For the following code, rearrange the code to use the branch delay slot so the outcome of the program is not changed and no stall (noop) occurs. Draw an arrow from the instruction that will be moved to the branch delay slot. add $7, $8, $9 TARGET: add $4, $2, $3 add $3, $1, $2 BEQ $1, $2, TARGET (branch delay slot) And do the same thing again with the following code: BEQ $1, $2, TARGET (branch delay slot). TARGET: add $4, $2, $3 add $3, $1, $2 add $7, $8, $9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
