Question: In the code, if $t 1 points to the start of an arry with values [ 7 , 3 ] , what are the values

In the code, if $t1 points to the start of an arry with values [7,3], what are the values of the elements in the array after the code is executed?
lw $t0,0($t1)
lw $t1,4($t1)
add $t2, $t0, $t1
sub $t3, $t0, $t2
bne $t3, $t2, jm1
sw $t2,8($t1)
sw $t3,12($t1)
jm2
jm1: sw $t0,8($t1)
sw $t1,12($t1)
jm2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!