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

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 Databases Questions!