1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-08 17:54:40 +00:00
kickc/src/test/ref/struct-pos-fill.sym

46 lines
1.2 KiB
Plaintext

(label) @1
(label) @begin
(label) @end
(const byte) OFFSET_STRUCT_POS_Y OFFSET_STRUCT_POS_Y = (byte) 1
(byte) XSPACE
(const byte) XSPACE#0 XSPACE = (byte) $14
(byte) YSPACE
(const byte) YSPACE#0 YSPACE = (byte) $14
(byte) idx
(byte) idx#1 idx zp ZP_BYTE:4 67.33333333333333
(byte) idx#11 idx zp ZP_BYTE:4 46.42857142857143
(byte) idx#12 idx zp ZP_BYTE:4 7.333333333333333
(byte) line
(byte) line#11 line zp ZP_BYTE:2 2.75
(byte) line#2 line zp ZP_BYTE:2 22.0
(void()) main()
(byte~) main::$3 reg byte x 151.5
(label) main::@1
(label) main::@2
(label) main::@3
(label) main::@4
(label) main::@5
(label) main::@return
(struct pos[$40]) p
(const struct pos[$40]) p#0 p = { fill( $40, 0) }
(byte) pos::x
(byte) pos::y
(byte) row
(byte) row#12 reg byte y 43.285714285714285
(byte) row#2 reg byte y 202.0
(byte) x
(byte) x#1 x zp ZP_BYTE:3 22.0
(byte) x#10 x zp ZP_BYTE:3 40.625
(byte) x#2 x zp ZP_BYTE:3 101.0
(byte) x#3 x zp ZP_BYTE:3 11.0
(byte) y
(byte) y#1 y zp ZP_BYTE:5 11.0
(byte) y#12 y zp ZP_BYTE:5 11.181818181818182
zp ZP_BYTE:2 [ line#11 line#2 ]
zp ZP_BYTE:3 [ x#3 x#10 x#1 x#2 ]
zp ZP_BYTE:4 [ idx#12 idx#11 idx#1 ]
zp ZP_BYTE:5 [ y#12 y#1 ]
reg byte y [ row#12 row#2 ]
reg byte x [ main::$3 ]