Hans-Kristian Arntzen e9e55d7742 Add some branch tests.
2020-01-31 20:51:38 +01:00

22 lines
222 B
ArmAsm

.text
.set noreorder
.global main
main:
jal indelay
nop
jal die # Test to make sure this becomes a conditional branch.
indelay:
jal notdie
move $t2, $ra
li $t0, 1
die:
li $t0, 0x10000
notdie:
li $t1, 2
break