For each of the following instructions answer questions: (a) Which register(s) w
ID: 645530 • Letter: F
Question
For each of the following instructions answer questions: (a) Which register(s) will be read during the ID stage? (b) Which register(s) will be written during the WB stage? (c) During which stage(s) does the CPU become idle?
3.1 lw $t1, 8($s0)
3.2 sll $t0, $t0, 2
3.3 add $t1, $s1, $s2
3.4 bne $t1, $s0, EXIT
Explanation / Answer
(a) Accumulator
(b) Accumulator
(c) WB stage