Question: 3. Consider executing the following code on the pipelined datapath, lw $4, 100($2) sub $6, $4, $3 add $2, $3, $5 How many clock cycles
3. Consider executing the following code on the pipelined datapath,
lw $4, 100($2)
sub $6, $4, $3
add $2, $3, $5
How many clock cycles will it take to execute this code? Draw a multiple clock cycle pipeline diagram that illustrates the dependencies that need to be resolved.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
