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