Question: For the following loop, assume that $t1 = 0, $13=0, $t4-4. After the code has run, what is the value in register $s2 (assuming
For the following loop, assume that $t1 = 0, $13=0, $t4-4. After the code has run, what is the value in register $s2 (assuming $s2 is initially zero) and $t1 ? LOOP: beq $t1, $t4, DONE DONE: addi $t3, $t3, 5 addi $t1, $t1, 1 J LOOP addi $s2, $t3,4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
