2019-01-26 21:46:01 +00:00
|
|
|
%import c64utils
|
|
|
|
|
|
|
|
~ main {
|
|
|
|
|
|
|
|
sub start() {
|
2019-01-27 00:02:45 +00:00
|
|
|
while true {
|
|
|
|
A=99
|
2019-01-26 21:46:01 +00:00
|
|
|
}
|
|
|
|
|
2019-01-27 00:02:45 +00:00
|
|
|
while true {
|
|
|
|
A=99
|
|
|
|
if A>100
|
|
|
|
break
|
|
|
|
}
|
2019-01-26 21:46:01 +00:00
|
|
|
|
2019-01-27 00:02:45 +00:00
|
|
|
repeat {
|
|
|
|
A=99
|
|
|
|
} until false
|
2019-01-26 21:46:01 +00:00
|
|
|
|
2019-01-27 00:02:45 +00:00
|
|
|
repeat {
|
|
|
|
A=99
|
|
|
|
if A>100
|
|
|
|
break
|
|
|
|
} until false
|
|
|
|
}
|
2019-01-26 21:46:01 +00:00
|
|
|
|
|
|
|
|
2019-01-27 00:02:45 +00:00
|
|
|
; @todo code for pow()
|
2019-01-26 21:46:01 +00:00
|
|
|
|
2019-01-27 00:02:45 +00:00
|
|
|
; @todo optimize code generation for "if blah ..." and "if not blah ..."
|
2019-01-26 21:46:01 +00:00
|
|
|
|
2019-01-27 00:02:45 +00:00
|
|
|
; @todo optimize vm
|
|
|
|
; push_byte ub:01
|
|
|
|
; jnz _prog8stmt_7_loop
|
2019-01-26 21:46:01 +00:00
|
|
|
}
|