Question: 10. (12 pts) NOTE: there are continuation sheets for this problem. DO NOT crom everything on this sheet. Disassemble the missing instructions (you can use

10. (12 pts) NOTE: there are continuation sheets for this problem. DO NOT crom everything on this sheet. Disassemble the missing instructions (you can use the QESPIM version of branch, if necessary). Be sure to include a comment describing what each line does. Do not write a comment like add 1 to $4". Rather write something like increment index variablej". When finished, briefly describe what this code does. # $t0 = base address of x[] # code for terminate # $t2 = 1 la $t0, x lw $ti,n li $t2,0 OT'OAS TI syscali # $t0 = base address of x # $t1 = n # $t2 = 1 [24] 3c081001 main: la $t0, [28] 3c011001 lw $t1,n [20] 8c290018 [30] 340a0000 li $t2,7 [34] 000a5880 loop: [38] 010b6021 [30] 8d8d0000 [40] 21aeff fb [44] ad8e0000 [48] 214a 0001 [4c] 1549fffa [50] 3402000a 11 $v0,10 [54] 00000000 syscall # code for terminate
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
