mirror of
https://github.com/irmen/prog8.git
synced 2024-09-10 09:54:32 +00:00
21 lines
268 B
Lua
21 lines
268 B
Lua
%import textio
|
|
|
|
main {
|
|
ubyte[2] data = [100, 100]
|
|
uword dRef = &data
|
|
|
|
sub start() {
|
|
dRef[0]--
|
|
dRef[1]++
|
|
|
|
cx16.r0L = 0
|
|
cx16.r1L = 1
|
|
dRef[cx16.r0L]--
|
|
dRef[cx16.r1L]++
|
|
|
|
txt.print_ub(data[0])
|
|
txt.spc()
|
|
txt.print_ub(data[1])
|
|
}
|
|
}
|