Question: Consider a code sequence consisting of 100 consecutive lw instructions. Except for the first instruction, each instruction uses the register that was loaded in the
Consider a code sequence consisting of 100 consecutive lw instructions. Except for the first instruction, each instruction uses the register that was loaded in the previous instruction as shown below. What would be the total number of cycles required for this sequence of instructions to execute given the pipelined datapath of Figure 4.65 on page 325 of your text?
lw $t2,0($t1) lw $t2,0($t2)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
