Question: ( 5 ) Assume that $ s 0 is initialized to 1 1 and $ s 1 is initialized to 2 2 . Suppose you

(5) Assume that $s0 is initialized to 11 and $s1 is initialized to 22. Suppose you
executed the code below on a version of the pipeline that does not handle data
hazards (i.e., the programmer is responsible for addressing data hazards by
inserting NOP instructions where necessary). What would the final values of
register $s4 be?
addi $s0,$s1,5
add $s2,$s0,$s1
addi $s3,$s0,15
add $s4,$s0,$s0
( 5 ) Assume that $ s 0 is initialized to 1 1 and

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!