cours_progra/bac1/q2/fonctio/tp2/spim-loop-5-write.s

13 lines
124 B
ArmAsm
Raw Normal View History

2023-05-05 13:02:58 +02:00
main:
li $a0, 5
li $a1, 0
li $v0, 1
j loop
loop:
syscall
addiu $a0, -1
bne $a0, $a1, loop
# bgtz $a0, loop
jr $ra