move $v0, $zero move $t0, $zero # initialize t0 to 0 Loop: beq $t0, $s0, Exit # if t0 == s0, go to Exit sll $t1, $t0, 2 # t1 = t0 * 4 add $t1, $t1, $s2 # t1 = s2 + (t0 * 4) lw $t2, 0($t1) # bring element in from memory add $v0, $v0, $t2 # v0 += t2 sw $t2, 0($t1) # send updated value back to memory addi $t0, $t0, 1 # t0++ j Loop Exit:
1000 1101 0010 1000 0000 0100 1011 0000How would you intepret it as the following:
x = 1111 1111 1111 1111 1011 0011 0101 0011 y = 0000 0000 0000 0000 0000 0010 1101 0111