2024-01-21 22:05:51 +00:00
|
|
|
%import textio
|
2024-01-22 23:56:06 +00:00
|
|
|
%zeropage basicsafe
|
|
|
|
%option no_sysinit
|
2023-12-31 00:02:33 +00:00
|
|
|
|
2024-01-07 17:48:18 +00:00
|
|
|
main {
|
|
|
|
sub start() {
|
2024-02-06 21:18:52 +00:00
|
|
|
ubyte @shared xx=1
|
|
|
|
uword @shared yy
|
2024-02-03 22:11:53 +00:00
|
|
|
|
2024-02-06 21:18:52 +00:00
|
|
|
ubyte[16] array
|
|
|
|
array[1] = 1
|
|
|
|
|
|
|
|
xx += 3
|
|
|
|
yy += 3
|
|
|
|
xx -= 3
|
|
|
|
yy -= 3
|
|
|
|
|
2024-02-06 23:03:39 +00:00
|
|
|
txt.print_ub(array[1])
|
|
|
|
txt.spc()
|
|
|
|
array[1]++
|
|
|
|
txt.print_ub(array[1])
|
|
|
|
txt.spc()
|
|
|
|
array[1]--
|
|
|
|
txt.print_ub(array[1])
|
|
|
|
txt.nl()
|
|
|
|
|
|
|
|
txt.print_ub(array[1])
|
|
|
|
txt.spc()
|
|
|
|
array[xx]++
|
|
|
|
txt.print_ub(array[1])
|
|
|
|
txt.spc()
|
|
|
|
array[xx]--
|
|
|
|
txt.print_ub(array[1])
|
|
|
|
txt.nl()
|
2024-02-04 12:50:18 +00:00
|
|
|
|
2024-02-03 00:57:17 +00:00
|
|
|
}
|
|
|
|
}
|