Question: The Following source code has a stalling problem: lw $st3, 4($t0) lw $st4, 8($t0) sub $s1, $st3, $st4 sw $s1, 12($t0) lw $t5,16($t0) add $s2,
The Following source code has a stalling problem:
lw $st3, 4($t0)
lw $st4, 8($t0)
sub $s1, $st3, $st4
sw $s1, 12($t0)
lw $t5,16($t0)
add $s2, $t3,$t5
sw $s2,20($t0)
Rearrange the code sequence that does exactly the same job without stalling:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
