Question: Consider the following instruction sequence for a 5 - stage pipelined MIPS implementation 1 1 : addi $ s 1 , $ s 0 ,

Consider the following instruction sequence for a 5-stage pipelined MIPS implementation
11: addi $s1,$s0,40
12: Iw $s2,0($s1)
13: add $s3, $s2, $s1
14: , add $s4,$s3,$s0
15: , add $s4, $s2, $s4
Assuming that the initial values of $s0,$s1,$s2,$s3, and $s4 are 100,200,300,15, and 30 respectively, and that memory locations 140 and 200 co
values 60 and 90 respectively.
Now consider the hazards and assume there is only ALU-ALU forwarding .
What will be the final value of $s3?
Selected Answer: 440
Answers: 200
500
440
 Consider the following instruction sequence for a 5-stage pipelined MIPS implementation

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!