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