mirror of
https://github.com/irmen/prog8.git
synced 2024-07-26 20:29:55 +00:00
36 lines
578 B
Lua
36 lines
578 B
Lua
%import textio
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
sub start() {
|
|
ubyte[10] envelope_attacks = 99
|
|
ubyte @shared xx = 4
|
|
ubyte yy
|
|
; 110
|
|
xx = 4
|
|
yy = 10
|
|
xx = xx <= yy
|
|
if xx
|
|
txt.chrout('1')
|
|
else
|
|
txt.chrout('0')
|
|
|
|
xx = 4
|
|
yy = 4
|
|
xx = xx <= yy
|
|
if xx
|
|
txt.chrout('1')
|
|
else
|
|
txt.chrout('0')
|
|
|
|
xx = 4
|
|
yy = 2
|
|
xx = xx <= yy
|
|
if xx
|
|
txt.chrout('1')
|
|
else
|
|
txt.chrout('0')
|
|
}
|
|
}
|
|
|