1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-06-29 09:29:31 +00:00
kickc/src/test/ref/consolidate-array-index-problem.sym
2021-04-30 17:26:46 +02:00

13 lines
307 B
Plaintext

void main()
constant byte main::BLACK = 0
constant byte* main::cols = (byte*) 55296
constant byte* main::screen = (byte*) 1024
byte main::x
byte main::x#1 reg byte y 16.5
byte main::x#2 reg byte y 8.25
byte main::y
byte main::y#0 reg byte x 16.5
reg byte y [ main::x#2 main::x#1 ]
reg byte x [ main::y#0 ]