mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-21 02:18:06 +11:00
27 lines
234 B
NASM
27 lines
234 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
|
|
cbr r31, 0xff
|
|
sbis 22, 5
|
|
ser r19
|
|
bset 4
|
|
bclr 7
|
|
call foo
|
|
jmp bar
|
|
mov r6, r30
|
|
lsl r3
|
|
tst r12
|