Question: . text start: # Initialization 1iaO,0 1i al, 100 # accumulator li s1, 4 # counter 1oop: addi a0, a0, 1 jal ra, a_function addi

. text start: \# Initialization 1iaO,0 1i al, 100 \# accumulator li s1, 4 \# counter 1oop: addi a0, a0, 1 jal ra, a_function addi s1,s1,1 bnez sl, loop mv s2, al \# End of the program 1i a7, 10 ecall a_function: add al, al, a0 ret After this code executes, what will be the value stored in register a1? 104 None of these 4 110 100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
