Question: Q 1 , For the MIPS instructions below, find all the data hazards. ( 1 ) for each data hazard, indicate the data hazard type

Q1, For the MIPS instructions below, find all the data hazards. (1) for each data hazard, indicate
the data hazard type and the related instructions; (2) for each data hazard, how to resolve it,
forwarding, stalling and forwarding, or executing the instructions without any stalling or
forwarding?
lw $t2,16($t2)
sub $t4, $t2, $t2
add $t3, $t2, $t5
sub $t6, $t1, $t2

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 Accounting Questions!