prog8/todo.ill

75 lines
1.6 KiB
Plaintext
Raw Normal View History

2018-01-09 22:28:39 +00:00
%output basic
2018-01-14 23:20:36 +00:00
%import c64lib
2018-01-07 18:14:21 +00:00
2018-01-11 23:55:47 +00:00
~ main {
var .byte v1t = true
var .byte v1f = false
var .word v2t = true
var .word v2f = false
var .float v3t = true
var .float v3f = false
var .text v4t = true
var .text v4f = false
var .array(3) v5t = true
var .array(3) v5f = false
var .array(10) v6t = true
var .array(10) v6f = false
var .wordarray(3) v7t = true
var .wordarray(3) v7f = false
var .wordarray(10) v8t = true
var .wordarray(10) v8f = false
var .matrix(2,2) v9t = true
var .matrix(2,2) v9f = false
var .matrix(5,5) v10t = true
var .matrix(5,5) v10f = false
const .byte c1t=true
const .byte c1f=false
const .word c2t=true
const .word c2f=false
const .float c3t=true
const .float c3f=false
2018-01-13 13:17:18 +00:00
2018-01-07 18:14:21 +00:00
2018-01-03 20:43:19 +00:00
start:
2018-01-14 14:18:50 +00:00
%breakpoint abc,def
;c3f=444 ; @todo constant error
;c3f=c3f ; @todo constant error
;c3f=c2t ; @todo constant error
;c3f+=2.23424 ; @todo constant error
v3t++
v3t+=1
v3t+=0
;v3t+=2.23424 ; @todo store as constant float with generated name, replace value node
;v3t+=2.23424 ; @todo store as constant float with generated name, replace value node
;v3t+=2.23425 ; @todo store as constant float with generated name, replace value node
; v4t++ ; @todo parser error
; v4t+=20 ; @todo parser error
; v4t+=2000 ; @todo parser error
; v5t++ ; @todo parser error
; v5t+=20 ; @todo parser error
; v5t+=2000 ; @todo parser error
A++
X--
A+=1
X-=2
2018-01-14 23:20:36 +00:00
;[AX]++
;[AX .byte]++
;[AX .word]++
;[AX .float]++
;[$ccc0]++
;[$ccc0 .byte]++
;[$ccc0 .word]++
;[$ccc0 .float]++
A+=2
2018-01-14 23:20:36 +00:00
A+=3
XY+=6
XY+=222
XY+=666
2018-01-14 14:18:50 +00:00
return 44
2018-01-07 18:14:21 +00:00
}