Question: 3 MIPS code(30pt) Assume that variables f,g,hij are assigned to registers Ss0 to $84 (in the given order). Assume that the base addresses of arrays

 3 MIPS code(30pt) Assume that variables f,g,hij are assigned to registers

3 MIPS code(30pt) Assume that variables f,g,hij are assigned to registers Ss0 to $84 (in the given order). Assume that the base addresses of arrays A and B are in $s6 and $7. Registers $t0 to $t2 are used to hold temporary values. add $t0,$s6, Ss0 add $t1, $s7, Ss1 lw $so, O($t0) addi St2, $t0, 4 lw $t0, O($t2) add Sto, Sto, $s sw $t2, O($t1) what does this code do? Identify RAW, WAR and WAW dependences in this code

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!