# problem 3.1 # # input in A0 is a positive integer # # output in V0 # begin: addi $t0, $zero, 0 addi $t1, $zero, 1 loop: slt $t2, $a0, $t1 bne $t2, $zero, finish add $t0, $t0, $t1 addi $t1, $t1, 2 j loop finish: add $v0, $t0, $zero # # in 1 sentence, what does it do #