mirror of
https://github.com/irmen/prog8.git
synced 2024-10-16 18:23:59 +00:00
21 lines
276 B
Lua
21 lines
276 B
Lua
%import textio
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
sub start() {
|
|
cx16.r0 = 42
|
|
goto foobar
|
|
my_label:
|
|
txt.print_uwhex(cx16.r0, true)
|
|
txt.spc()
|
|
cx16.r0--
|
|
if cx16.r0
|
|
goto my_label
|
|
sys.exit(0)
|
|
|
|
foobar:
|
|
txt.print("yeooo\n")
|
|
goto my_label
|
|
}
|
|
}
|