1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-21 02:28:05 +11:00
collapseos/tools/tests/avra/test1.asm
2019-12-15 08:43:59 -05:00

17 lines
143 B
NASM

add r1, r31
ret
foo:
sleep
break
breq bar
asr r20
bar:
brbs 6, foo
ori r22, 0x34+4
sbrs r1, 3
rjmp foo
rcall baz
baz:
out 0x2e, r12
in r0, 0x9