Question: add $t0, $zero, $zero addi $a0, $zero, 39 loop: ble $a0, $zero, end add $t0, $t0, $a0 addi $a0, $a0, -5 b loop end: What

add $t0, $zero, $zero

addi $a0, $zero, 39

loop: ble $a0, $zero, end

add $t0, $t0, $a0

addi $a0, $a0, -5

b loop

end:

  1. What is the value of $t0 when code has finished executing? (5pts)

  1. What Assembler instruction would you use to load the address of variable Input into register $t0? (4pts)

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!