Add test for bgtz
This commit is contained in:
18
07test_bgtz.asm
Normal file
18
07test_bgtz.asm
Normal 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
|
||||
Reference in New Issue
Block a user