1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-18 04:08:58 +00:00
kickc/src/test/ref/struct-ptr-30.sym

43 lines
1.2 KiB
Plaintext
Raw Normal View History

(const byte) OFFSET_STRUCT_POINT_Y = (byte) 1
(byte) Point::x
(signed word) Point::y
(const nomodify byte*) SCREEN = (byte*) 1024
(const byte) SIZEOF_STRUCT_POINT = (byte) 3
(byte) idx
2020-06-27 19:18:00 +00:00
(byte) idx#13 idx zp[1]:3 22.4
(byte) idx#16 idx zp[1]:3 35.5
(byte) idx#2 reg byte x 101.0
(byte) idx#3 reg byte x 101.0
(byte) idx#4 reg byte x 151.5
(void()) main()
2020-06-27 19:18:00 +00:00
(byte~) main::$2 reg byte y 16.5
(byte~) main::$3 reg byte a 22.0
(label) main::@1
(label) main::@2
(label) main::@return
(byte) main::i
2020-06-27 19:18:00 +00:00
(byte) main::i#1 i zp[1]:2 16.5
(byte) main::i#2 i zp[1]:2 7.333333333333333
2019-12-21 09:38:44 +00:00
(const struct Point*) points[(number) 4] = { { x: (byte) 1, y: (signed word) $83f }, { x: (byte) 3, y: (signed word) $107e } }
(void()) print((byte) print::p_x , (signed word) print::p_y)
2020-06-27 19:18:00 +00:00
(byte~) print::$0 reg byte a 202.0
(byte~) print::$1 reg byte a 202.0
(label) print::@return
(struct Point) print::p
(byte) print::p_x
2020-06-27 19:18:00 +00:00
(byte) print::p_x#0 reg byte x 56.0
(signed word) print::p_y
2020-06-27 19:18:00 +00:00
(signed word) print::p_y#0 p_y zp[2]:4 35.5
zp[1]:2 [ main::i#2 main::i#1 ]
2020-06-27 19:18:00 +00:00
zp[1]:3 [ idx#16 idx#13 ]
reg byte a [ main::$3 ]
reg byte y [ main::$2 ]
reg byte x [ print::p_x#0 ]
2019-10-12 09:40:36 +00:00
zp[2]:4 [ print::p_y#0 ]
2020-06-27 19:18:00 +00:00
reg byte x [ idx#2 ]
reg byte a [ print::$0 ]
2020-06-27 19:18:00 +00:00
reg byte x [ idx#3 ]
reg byte a [ print::$1 ]
2020-06-27 19:18:00 +00:00
reg byte x [ idx#4 ]