2024-10-27 20:50:48 +00:00
|
|
|
%import textio
|
2024-10-13 17:37:25 +00:00
|
|
|
%option no_sysinit
|
2024-10-27 20:50:48 +00:00
|
|
|
%zeropage basicsafe
|
2024-10-18 20:22:34 +00:00
|
|
|
|
2024-10-07 17:17:37 +00:00
|
|
|
main {
|
2024-10-29 00:09:25 +00:00
|
|
|
|
2024-10-29 21:57:54 +00:00
|
|
|
sub start() {
|
2024-11-02 17:40:10 +00:00
|
|
|
cx16.r0=0
|
|
|
|
|
|
|
|
if cx16.r0==0
|
|
|
|
cx16.r1L=42
|
|
|
|
else
|
|
|
|
cx16.r1L=99
|
|
|
|
|
|
|
|
cx16.r2L = if cx16.r0==0 42 else 99
|
|
|
|
|
|
|
|
if cx16.r0==33
|
|
|
|
cx16.r1L=42
|
|
|
|
else
|
|
|
|
cx16.r1L=99
|
|
|
|
|
|
|
|
cx16.r2L = if cx16.r0==33 42 else 99
|
|
|
|
|
|
|
|
if cx16.r0!=3333
|
|
|
|
cx16.r1L=42
|
|
|
|
else
|
|
|
|
cx16.r1L=99
|
|
|
|
|
|
|
|
cx16.r2L = if cx16.r0!=3333 42 else 99
|
|
|
|
|
|
|
|
if cx16.r0!=0
|
|
|
|
cx16.r1L=42
|
|
|
|
else
|
|
|
|
cx16.r1L=99
|
|
|
|
|
|
|
|
cx16.r2L = if cx16.r0!=0 42 else 99
|
2024-10-29 00:09:25 +00:00
|
|
|
|
2024-11-02 17:40:10 +00:00
|
|
|
if cx16.r0!=33
|
|
|
|
cx16.r1L=42
|
|
|
|
else
|
|
|
|
cx16.r1L=99
|
|
|
|
|
|
|
|
cx16.r2L = if cx16.r0!=0 42 else 99
|
|
|
|
|
|
|
|
if cx16.r0==cx16.r9
|
|
|
|
cx16.r1L=42
|
|
|
|
else
|
|
|
|
cx16.r1L=99
|
|
|
|
|
|
|
|
cx16.r2L = if cx16.r0==cx16.r9 42 else 99
|
|
|
|
|
|
|
|
if cx16.r0!=cx16.r9
|
|
|
|
cx16.r1L=42
|
|
|
|
else
|
|
|
|
cx16.r1L=99
|
|
|
|
|
|
|
|
cx16.r2L = if cx16.r0!=cx16.r9 42 else 99
|
|
|
|
|
|
|
|
if cx16.r0>cx16.r1
|
|
|
|
cx16.r1L=42
|
|
|
|
else
|
|
|
|
cx16.r1L=99
|
|
|
|
|
|
|
|
cx16.r2L = if cx16.r0>cx16.r1 42 else 99
|
|
|
|
}
|
2024-09-14 21:17:26 +00:00
|
|
|
}
|