1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-29 03:56:15 +00:00
kickc/src/test/ref/struct-ptr-0.sym
2021-04-30 17:26:46 +02:00

20 lines
539 B
Plaintext

constant byte OFFSET_STRUCT_POINT_Y = 1
void main()
byte~ main::$0 reg byte y 22.0
byte~ main::$4 zp[1]:2 11.0
byte~ main::$6 reg byte x 16.5
constant byte* const main::SCREEN = (byte*) 1024
byte main::i
byte main::i#1 reg byte x 16.5
byte main::i#2 reg byte x 11.0
byte main::i1
byte main::i1#1 reg byte y 16.5
byte main::i1#2 reg byte y 13.75
constant struct Point* points[4] = { fill( 4, 0) }
reg byte x [ main::i#2 main::i#1 ]
reg byte y [ main::i1#2 main::i1#1 ]
zp[1]:2 [ main::$4 ]
reg byte y [ main::$0 ]
reg byte x [ main::$6 ]