2024-01-21 22:05:51 +00:00
|
|
|
%import textio
|
2024-03-01 18:45:16 +00:00
|
|
|
%zeropage basicsafe
|
2024-02-04 22:18:11 +00:00
|
|
|
%option no_sysinit
|
2023-12-31 00:02:33 +00:00
|
|
|
|
2024-01-07 17:48:18 +00:00
|
|
|
main {
|
2024-03-02 13:26:02 +00:00
|
|
|
sub start() {
|
2024-02-04 22:18:11 +00:00
|
|
|
bool[3] barr
|
|
|
|
bool @shared bb
|
2024-02-21 22:10:04 +00:00
|
|
|
|
2024-02-04 22:18:11 +00:00
|
|
|
barr[1] = barr[0] and barr[2]
|
|
|
|
barr[1] = barr[0] or barr[2]
|
|
|
|
barr[1] = barr[0] xor barr[2]
|
|
|
|
barr[1] = not barr[0]
|
|
|
|
barr[1] = not barr[1]
|
|
|
|
barr[1] = barr[1] and bb
|
|
|
|
barr[1] = barr[1] or bb
|
|
|
|
barr[1] = barr[1] xor bb
|
2024-02-21 22:10:04 +00:00
|
|
|
|
2024-02-04 22:18:11 +00:00
|
|
|
bb = bb and barr[1]
|
|
|
|
bb = bb or barr[1]
|
|
|
|
bb = bb xor barr[1]
|
|
|
|
bb = not bb
|
2024-03-01 18:45:16 +00:00
|
|
|
}
|
|
|
|
}
|