Continuando
mv s1, sp
mv s2, a0
li a0, 0
mv t1, s0
loop: lw t0, 0(s1)
ble t0, s2, menor
addi a0, a0, 1
menor:
addi s1, s1, 4
addi t1, t1, -1
bne t1, zero, loop
slli t0, s0, 2
add sp, sp, t0
lw ra, 0(sp)
lw s2, 4(sp)
lw s1, 8(sp)
lw s0, 12(sp)
addi sp, sp, 16
ret