mirror of
https://github.com/irmen/prog8.git
synced 2024-10-16 18:23:59 +00:00
25 lines
304 B
Lua
25 lines
304 B
Lua
|
|
main {
|
|
|
|
sub start() {
|
|
uword ww
|
|
|
|
main.routine2.num = ww+1
|
|
main.routine2.switch=true
|
|
|
|
routine2(ww+1, true)
|
|
|
|
repeat {
|
|
}
|
|
|
|
}
|
|
|
|
asmsub routine2(uword num @AY, ubyte switch @X) {
|
|
%asm {{
|
|
adc #20
|
|
rts
|
|
}}
|
|
}
|
|
|
|
}
|