mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-09-29 03:56:15 +00:00
20 lines
496 B
Plaintext
20 lines
496 B
Plaintext
constant byte SIZEOF_WORD = 2
|
|
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
|
|
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
|
|
|
|
zp[2]:2 [ main::w1#0 ]
|
|
reg byte a [ main::$0 ]
|
|
reg byte a [ main::$1 ]
|
|
zp[2]:4 [ main::w2#0 ]
|
|
reg byte a [ main::$2 ]
|
|
reg byte a [ main::$3 ]
|