prog8/todo.ill

47 lines
815 B
Plaintext
Raw Normal View History

2018-02-03 00:44:14 +00:00
%output basic
2018-02-01 22:14:12 +00:00
%import c64lib
2018-01-11 23:55:47 +00:00
~ main {
2018-01-07 18:14:21 +00:00
2018-02-08 22:35:50 +00:00
var .float flt
var bytevar = 22 + 23 ; @todo bytevar in source should show its initial value in a comment
var .text guess1 = "?X" * 40 ; @todo constant-fold before semantic check
var .text guess2 = "?" * 40 ; @todo string result instead of int!
2018-02-01 22:14:12 +00:00
const .word border = $d020
2018-02-03 00:44:14 +00:00
var .word border2 = $d020
memory screenm = $d021
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
2018-02-03 00:44:14 +00:00
screenm ++
screenm ++
border2 ++
border2 ++
screenm --
border2 --
[$55 .float] ++
[screenm .float]--
2018-02-03 00:53:07 +00:00
[border] ++
[border] ++
[border] --
2018-02-03 00:44:14 +00:00
[$d020] ++
[$d020] ++
[$d020] --
2018-02-03 00:53:07 +00:00
[border2 .word] ++
[border2 .float] ++
[border2] --
[XY] ++
2018-01-14 14:18:50 +00:00
2018-02-02 21:42:09 +00:00
return 44.123
2018-01-07 18:14:21 +00:00
}