Question: lw $t0, 0 ($a0) addi $t9, $zero, 53 mult $t9, $t0 mflo $t0 lw $t1, 4 ($a0) lw $t1, 0 ($t1) addi $t1, $t1, -9

lw $t0, 0 ($a0) addi $t9, $zero, 53 mult $t9, $t0 mflo $t0 lw $t1, 4 ($a0) lw $t1, 0 ($t1) addi $t1, $t1, -9 addi $t9, $zero, 7 mult $t9, $t1 mflo $t1 add $t0, $t0, $t1 sw $t0, 0 ($a0)

1. Indicate the dependencies in the given code.

2. Assume there is no forwarding in this pipelined processor; add NOP instructions to eliminate any hazards.

3. Assume there is forwarding in this pipelined processor; add NOP instructions to eliminiate any hazards.

Please explain :)

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!