mirror of
https://github.com/irmen/prog8.git
synced 2024-11-30 08:52:30 +00:00
19 lines
337 B
Lua
19 lines
337 B
Lua
%import textio
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
|
|
sub start() {
|
|
uword[] @shared ptrs = [&x1, &x2, &start, 4242, 4242]
|
|
ubyte x1
|
|
ubyte x2
|
|
|
|
txt.print_uwhex(ptrs[0], true)
|
|
txt.spc()
|
|
txt.print_uwhex(ptrs[1], true)
|
|
txt.spc()
|
|
txt.print_uwhex(ptrs[2], true)
|
|
txt.nl()
|
|
}
|
|
}
|