1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-21 04:38:05 +11:00
collapseos/tools/tests/avra/test1.asm

17 lines
143 B
NASM
Raw Normal View History

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