2024-11-30 19:46:31 +00:00
|
|
|
%import textio
|
|
|
|
%zeropage basicsafe
|
|
|
|
|
2024-11-13 23:54:07 +00:00
|
|
|
main {
|
2024-11-24 06:28:33 +00:00
|
|
|
sub start() {
|
2024-12-04 18:00:02 +00:00
|
|
|
if (cx16.r0 & 1) as bool == false
|
|
|
|
cx16.r1++
|
|
|
|
else
|
|
|
|
cx16.r2++
|
2024-12-02 20:25:38 +00:00
|
|
|
|
2024-12-04 18:00:02 +00:00
|
|
|
if (cx16.r0 & 1) as bool == true
|
|
|
|
cx16.r1++
|
|
|
|
else
|
|
|
|
cx16.r2++
|
2024-12-02 20:25:38 +00:00
|
|
|
|
2024-12-04 18:00:02 +00:00
|
|
|
if not((cx16.r0 & 1) as bool)
|
|
|
|
cx16.r1++
|
|
|
|
else
|
|
|
|
cx16.r2++
|
2024-12-02 20:25:38 +00:00
|
|
|
|
2024-12-04 18:00:02 +00:00
|
|
|
if (cx16.r0 & 1) as bool
|
|
|
|
cx16.r1++
|
|
|
|
else
|
|
|
|
cx16.r2++
|
2024-11-29 23:06:02 +00:00
|
|
|
}
|
2024-11-05 22:56:58 +00:00
|
|
|
}
|