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

29 lines
249 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
2019-12-23 06:45:10 +11:00
cbr r31, 0xff
2019-12-23 06:55:38 +11:00
sbis 22, 5
2019-12-23 07:01:08 +11:00
ser r19
2019-12-23 07:11:15 +11:00
bset 4
bclr 7
2019-12-23 07:54:46 +11:00
call foo
jmp bar
mov r6, r30
2019-12-23 10:36:15 +11:00
lsl r3
2019-12-23 11:17:40 +11:00
tst r12
clr YH
clr r29