Question: 1 . 4 . 2 2 [ 5 ] < 4 . 6 > Consider the fragment of MIPS assembly below: sd $s 5 ,
Consider the fragment of MIPS assembly below:
sd $s$s
Id $s$s
sub $s $s $s
beqz $s label
add $s $s $s
sub $s $s $s
Suppose we modify the pipeline so that it has only one memory that
handles both instructions and data In this case, there will be a
structural hazard every time a program needs to fetch an instruction
during the same cycle in which another instruction accesses data.
Draw a pipeline diagram to show were the code
above will stall.
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
