2024-02-27 00:02:42 +01:00
|
|
|
%import math
|
2024-01-21 23:05:51 +01:00
|
|
|
%import textio
|
2024-02-22 17:13:07 +01:00
|
|
|
%zeropage dontuse
|
2024-02-04 23:18:11 +01:00
|
|
|
%option no_sysinit
|
2023-12-31 01:02:33 +01:00
|
|
|
|
2024-01-07 18:48:18 +01:00
|
|
|
main {
|
2024-02-25 05:02:50 +01:00
|
|
|
sub start() {
|
2024-02-27 02:37:03 +01:00
|
|
|
if cx16.r0sL > 10
|
|
|
|
cx16.r1L++
|
|
|
|
if cx16.r0sL >= 10
|
|
|
|
cx16.r1L++
|
|
|
|
if cx16.r0sL < 10
|
|
|
|
cx16.r1L++
|
|
|
|
if cx16.r0sL <= 10
|
|
|
|
cx16.r1L++
|
2024-02-27 00:02:42 +01:00
|
|
|
}
|
2024-02-22 23:39:31 +01:00
|
|
|
|
2024-02-27 00:02:42 +01:00
|
|
|
sub ub() -> ubyte {
|
|
|
|
cx16.r0++
|
|
|
|
return cx16.r0L
|
|
|
|
}
|
2024-02-22 23:39:31 +01:00
|
|
|
|
2024-02-27 00:02:42 +01:00
|
|
|
sub sb() -> byte {
|
|
|
|
cx16.r0++
|
|
|
|
return cx16.r0sL
|
|
|
|
}
|
2024-02-22 23:39:31 +01:00
|
|
|
}
|
2024-02-25 05:02:50 +01:00
|
|
|
|