the answer is always wrong in this MIPS recursion . got 10, supposed to be 55
问题 This code is supposed to print the sum of numbers from 10 to 0. It should be printing 55, but is printing 10 instead. Can you help me figure out where it's going wrong? main: # initialize values to 3 registers addi $a0,$zero,10 jal sum # call method # Print out the summation upto 10 li $v0,1 # print integer add $a1,$v0,$zero # load return value into argument syscall li $v0,10 # Exit syscall sum: addi $sp,$sp,-8 # allocate space on stack sw $ra,0($sp) # store the return address sw $a0,4($sp) #