2018-02-01 22:14:12 +00:00
|
|
|
%import c64lib
|
2018-01-01 22:24:39 +00:00
|
|
|
|
2018-01-11 23:55:47 +00:00
|
|
|
~ main {
|
2018-01-07 18:14:21 +00:00
|
|
|
|
2018-02-01 22:14:12 +00:00
|
|
|
; 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
|
2018-01-28 20:58:16 +00:00
|
|
|
|
2018-01-03 20:43:19 +00:00
|
|
|
start:
|
2018-02-01 22:14:12 +00:00
|
|
|
; @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
|
2018-01-14 14:18:50 +00:00
|
|
|
|
|
|
|
return 44
|
2018-01-07 18:14:21 +00:00
|
|
|
}
|
|
|
|
|