1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-29 03:56:15 +00:00
kickc/src/test/ref/word-array-0.sym

20 lines
496 B
Plaintext
Raw Normal View History

constant byte SIZEOF_WORD = 2
2020-10-05 20:58:02 +00:00
void main()
byte~ main::$0 reg byte a 4.0
byte~ main::$1 reg byte a 4.0
byte~ main::$2 reg byte a 4.0
byte~ main::$3 reg byte a 4.0
constant byte* const main::SCREEN = (byte*) 1024+6*$28
2020-10-05 20:58:02 +00:00
word main::w1
word main::w1#0 w1 zp[2]:2 2.0
word main::w2
word main::w2#0 w2 zp[2]:4 2.0
constant word* main::words[3] = (word*) 1024
2019-10-12 09:40:36 +00:00
zp[2]:2 [ main::w1#0 ]
reg byte a [ main::$0 ]
reg byte a [ main::$1 ]
2019-10-12 09:40:36 +00:00
zp[2]:4 [ main::w2#0 ]
reg byte a [ main::$2 ]
reg byte a [ main::$3 ]