mirror of
https://github.com/irmen/prog8.git
synced 2024-10-10 10:23:47 +00:00
27 lines
733 B
Plaintext
27 lines
733 B
Plaintext
%import c64lib
|
|
|
|
~ main {
|
|
|
|
; var .float flt
|
|
; var bytevar = 22 + 23 ; @todo constant-fold before semantic check
|
|
; var .float initfloat1 = -1.234e-14 ; @todo constant-fold before semantic check / fix float parse?
|
|
; var .float initfloat2 = -555.666 ; @todo constant-fold before semantic check / fix float parse?
|
|
; var .text guess = '?' * 80 ; @todo constant-fold before semantic check
|
|
const .word border = $d020
|
|
|
|
start:
|
|
; @todo float incrdecr/augassign
|
|
; flt += 0.1
|
|
; flt += 1.1
|
|
; flt += 10.1
|
|
; flt += 100.1
|
|
; flt += 1000.1
|
|
; flt *= 2.34
|
|
|
|
[border] ++; @todo suport incr/decr on deref constant
|
|
[$d020] ++ ; @todo suport incr/decr on deref memory
|
|
|
|
return 44
|
|
}
|
|
|