Question: 4. Given the data segment: array: .word 30, 50, -10, 25, -2, 60, 40, 0, 75, -15 blanks: .asciiz II 11 Trace the following code

4. Given the data segment: array: .word 30, 50, -10, 25, -2, 60, 40, 0, 75, -15 blanks: .asciiz II 11 Trace the following code and show what is printed, and show the contents of the array at the end of execution. SHOW YOUR WORK TO RECEIVE CREDIT. lui addi lw $t0, 0x1001 $t1, $t0, 4 $s0, 0 ($t1) one: addi SW li syscall $a0, $50, 5 $a), 4($t1) $v0, 1 la $a0, blanks $v0, 4 li syscall addi lw bnez $t1, $t1, 8 $s0, 0 ($t1) $50, one
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
