mirror of
https://github.com/irmen/prog8.git
synced 2024-11-23 07:32:10 +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])
|
|
}
|
|
}
|