2022-05-22 15:34:08 +00:00
|
|
|
%import textio
|
2022-06-04 15:18:24 +00:00
|
|
|
%zeropage basicsafe
|
2022-03-13 11:52:12 +00:00
|
|
|
|
2022-07-08 19:50:32 +00:00
|
|
|
main {
|
|
|
|
sub start() {
|
2022-07-12 19:58:33 +00:00
|
|
|
ubyte value1 = %1110
|
|
|
|
ubyte value2 = %1111
|
|
|
|
|
|
|
|
bool[2] @shared barr = [true, false]
|
|
|
|
|
|
|
|
; if value1 and value2 ; TODO value1 isn't converted to bool in 6502 preprocess
|
|
|
|
; txt.print("ok")
|
|
|
|
; else
|
|
|
|
; txt.print("fail!")
|
|
|
|
; txt.nl()
|
|
|
|
|
|
|
|
if value1 and value2!=255 ; TODO value1 isn't converted to bool in 6502 preprocess
|
|
|
|
txt.print("ok")
|
|
|
|
else
|
|
|
|
txt.print("fail!")
|
2022-07-08 19:50:32 +00:00
|
|
|
}
|
2022-02-17 23:40:31 +00:00
|
|
|
}
|