Question: 1 How many cycles will it take to execute the following codecode: lw $t2, 0($t3) lw $t3, 4($t3) beq $t2, $t3, Label #assume not taken
1 How many cycles will it take to execute the following codecode:
lw $t2, 0($t3)
lw $t3, 4($t3)
beq $t2, $t3, Label #assume not taken
add $t5, $t2, $t3
sw $t5, 8($t3)
Label: ...
2. What is going on during the 8th cycle of execution?
3. In what cycle does the actual addition of $t2 and $t3 takes place
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
