collapseos/tools/tests/avra/test1.asm

27 lines
234 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
2019-12-22 14:45:10 -05:00
cbr r31, 0xff
2019-12-22 14:55:38 -05:00
sbis 22, 5
2019-12-22 15:01:08 -05:00
ser r19
2019-12-22 15:11:15 -05:00
bset 4
bclr 7
2019-12-22 15:54:46 -05:00
call foo
jmp bar
mov r6, r30
2019-12-22 18:36:15 -05:00
lsl r3
2019-12-22 19:17:40 -05:00
tst r12