Consider the following instruction sequence for a 5‐stage
pipelined MIPS implementation
addi $s0, $s0, 20
lw $s1, 0 ($s0)
add $s2, $s0, $s1
add $s3, $s3, $s0
add $s3, $s1, $s4
Assuming that the initial values of $s0, $s1, $s2, $s3, and $s4
are 1000, 200, 50, 7, and 9 respectively and that memory locations
1000 and 1020 contains the values 300 and 150 respectively. Now
consider the hazards and assume there is neither forwarding nor
hazard detection units What will be the final value of $s3 in this
case?
a- 309
b- None
c- 7
d- 159