mirror of
https://github.com/irmen/prog8.git
synced 2024-11-26 11:49:22 +00:00
22 lines
342 B
Lua
22 lines
342 B
Lua
%import textio
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
const ubyte VAL = 11
|
|
sub start() {
|
|
uword w
|
|
ubyte @zp x,y,z = 99
|
|
|
|
txt.print_ub(x)
|
|
txt.spc()
|
|
txt.print_ub(y)
|
|
txt.spc()
|
|
txt.print_ub(z)
|
|
txt.spc()
|
|
txt.print_uw(w)
|
|
txt.nl()
|
|
if x==y==z
|
|
x++
|
|
}
|
|
}
|