mirror of
https://github.com/irmen/prog8.git
synced 2024-09-10 09:54:32 +00:00
23 lines
357 B
Lua
23 lines
357 B
Lua
%import textio
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
const ubyte VAL = 11
|
|
sub start() {
|
|
uword w
|
|
ubyte x
|
|
ubyte y
|
|
ubyte z
|
|
|
|
w = x = y = z = 99+VAL
|
|
txt.print_ub(x)
|
|
txt.spc()
|
|
txt.print_ub(y)
|
|
txt.spc()
|
|
txt.print_ub(z)
|
|
txt.spc()
|
|
txt.print_uw(w)
|
|
txt.nl()
|
|
}
|
|
}
|