Add test for bgtz

This commit is contained in:
unlockable
2024-07-11 00:31:51 +08:00
parent 9071500240
commit 6791d6b7bb
3 changed files with 50 additions and 0 deletions

18
07test_bgtz.asm Normal file
View File

@@ -0,0 +1,18 @@
addi $s1, $zero, 2
nop
nop
nop
nop
start:
addi $s1, $s1, -1
nop
nop
nop
nop
bgtz $s1, start
nop
nop
nop
nop
end:
j end