100%
Which of the following segments of C code best describes what
the following MIPS assembly code does?
la $t0, x
lw $t1, 0($t0)
la $t2, y
lw $t3, 0($t2)
l1: bne $t1, $zero, l2
addu $t1, $t1, $t3
l2: sw $t1, 0($t0)
while (x==0) { x=x+y; }
while (x!=0) { x=x+y; }
if (x==0) { x=x+y; }
if (x!=0) { x=x+y; }
x=x+y;