2024-01-04 14:02:21 +00:00
|
|
|
%import textio
|
2023-12-31 00:02:33 +00:00
|
|
|
%zeropage basicsafe
|
2024-01-03 23:30:20 +00:00
|
|
|
%option no_sysinit
|
2023-12-31 00:02:33 +00:00
|
|
|
|
2024-01-07 17:48:18 +00:00
|
|
|
main {
|
|
|
|
sub start() {
|
2024-01-11 21:12:01 +00:00
|
|
|
cx16.r0L = main.dummy.variable
|
2024-01-13 12:55:16 +00:00
|
|
|
cx16.r1L = main.dummy.array[1]
|
2024-01-11 21:12:01 +00:00
|
|
|
cx16.r0++
|
|
|
|
}
|
2024-01-09 21:10:25 +00:00
|
|
|
|
2024-01-11 21:12:01 +00:00
|
|
|
sub dummy() {
|
|
|
|
ubyte variable
|
|
|
|
ubyte[] array = [1,2,3]
|
2024-01-09 22:46:27 +00:00
|
|
|
|
2024-01-11 21:12:01 +00:00
|
|
|
cx16.r0++
|
2023-12-26 21:01:49 +00:00
|
|
|
}
|
2023-12-19 21:59:01 +00:00
|
|
|
}
|