Question: Consider this sequence: sub $2, $1,$3 and $12,$2,$5 or $13,$6,$2 add $14,$2,$2 sw $15,100($2) Is there any hazard in above code sequence? If there is

Consider this sequence:

sub $2, $1,$3

and $12,$2,$5

or $13,$6,$2

add $14,$2,$2

sw $15,100($2)

Is there any hazard in above code sequence?

If there is hazard in the above code sequence, How can we resolve hazards?

How can we resolve hazards with forwarding? [draw in figure your answer]

How do we detect when to forward?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!