collapseos/tools/tests/avra/test1.asm

17 lines
143 B
NASM
Raw Normal View History

2019-12-13 17:38:40 -05:00
add r1, r31
ret
2019-12-13 22:49:15 -05:00
foo:
2019-12-13 17:38:40 -05:00
sleep
break
2019-12-13 22:49:15 -05:00
breq bar
2019-12-13 17:38:40 -05:00
asr r20
2019-12-13 22:49:15 -05:00
bar:
brbs 6, foo
ori r22, 0x34+4
2019-12-14 09:33:46 -05:00
sbrs r1, 3
2019-12-14 12:28:27 -05:00
rjmp foo
rcall baz
baz:
2019-12-15 08:43:59 -05:00
out 0x2e, r12
in r0, 0x9