Question: Draw the dependency diagram for the following MIPS code i1: add r3, r4, r6 i2: sub r5, r3, r2 i3: lw r7, 0( r5 )

Draw the dependency diagram for the following MIPS code

i1: add r3, r4, r6

i2: sub r5, r3, r2

i3: lw r7, 0( r5 ) // reg[7] memory[ reg[5] + 0 ]

i4: add r5, r5, r8

i5: sw r7, 0( r5 ) // memory[ reg[5] + 0 ] reg[7]

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!