Question: P 1 . Problems in this exercise refer to the following sequence of instructions, and assume that it is executed on a five - stage
P
Problems in this exercise refer to the following sequence of instructions, and assume that it is
executed on a fivestage pipelined data path:
add $s $s $s
lw $s$s
lw $s$s
or $s $s $s
sw $s$s
a If there is no forwarding or hazard detection, insert NOPSbubble to ensure correct execution.
b Now, change andor rearrange the code to minimize the number of NOPsbubbles needed. You
can assume register $t can be used to hold temporary values in your modified code.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
