Question: 1 . Which instruction in the following MIMPS sequence may cause a data hazard? add $t 0 , $s 1 , $s 2 sub $t

1. Which instruction in the following MIMPS sequence may cause a data hazard?
add $t0, $s1, $s2
sub $t1, $t0, $s3
lw $t2,0($s4)
or $t3, $t1, $t2
sw $t3,0($s5)
A) add $t0, $s1, $s2
B) sub $t1, $t0, $s3
C) lw $t2,0($s4)
D) or $t3, $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 Programming Questions!