2024-02-28 00:27:03 +00:00
|
|
|
%import string
|
2024-01-21 22:05:51 +00:00
|
|
|
%import textio
|
2024-02-04 22:18:11 +00:00
|
|
|
%option no_sysinit
|
2024-02-28 00:27:03 +00:00
|
|
|
%zeropage basicsafe
|
|
|
|
|
2023-12-31 00:02:33 +00:00
|
|
|
|
2024-01-07 17:48:18 +00:00
|
|
|
main {
|
2024-02-25 04:02:50 +00:00
|
|
|
sub start() {
|
2024-02-28 00:27:03 +00:00
|
|
|
|
2024-02-29 23:13:03 +00:00
|
|
|
ubyte[] envelope_attacks = [1,2,3,4]
|
|
|
|
|
|
|
|
if msb(cx16.r0) > cx16.r2L or envelope_attacks[cx16.r1L]==0 {
|
|
|
|
txt.print("yep")
|
|
|
|
}
|
|
|
|
|
|
|
|
;
|
|
|
|
; ubyte[] barray = [11,22,33]
|
|
|
|
; uword[] warray = [1111,2222,3333]
|
|
|
|
;
|
|
|
|
; if any(barray)
|
|
|
|
; cx16.r0++
|
|
|
|
;
|
|
|
|
;
|
|
|
|
; if barray[2] == 33
|
|
|
|
; cx16.r0++
|
|
|
|
; else
|
|
|
|
; cx16.r1++
|
|
|
|
;
|
|
|
|
; if warray[2] == 3333
|
|
|
|
; cx16.r0++
|
|
|
|
; else
|
|
|
|
; cx16.r1++
|
|
|
|
;
|
|
|
|
; if barray[cx16.r0L] == 33
|
|
|
|
; cx16.r0++
|
|
|
|
; else
|
|
|
|
; cx16.r1++
|
|
|
|
;
|
|
|
|
; if warray[cx16.r0L] == 3333
|
|
|
|
; cx16.r0++
|
|
|
|
; else
|
|
|
|
; cx16.r1++
|
2024-02-26 23:02:42 +00:00
|
|
|
}
|
2024-02-22 22:39:31 +00:00
|
|
|
}
|
2024-02-25 04:02:50 +00:00
|
|
|
|