2019-10-13 22:51:15 +00:00
|
|
|
(const byte) OFFSET_STRUCT_POINT_Y = (byte) 1
|
2019-09-09 21:01:04 +00:00
|
|
|
(byte) Point::x
|
|
|
|
(signed word) Point::y
|
2020-03-29 19:00:25 +00:00
|
|
|
(const nomodify byte*) SCREEN = (byte*) 1024
|
2020-01-08 23:30:16 +00:00
|
|
|
(const byte) SIZEOF_STRUCT_POINT = (byte) 3
|
2019-09-09 21:01:04 +00:00
|
|
|
(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
|
2019-09-09 21:01:04 +00:00
|
|
|
(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
|
2019-09-09 21:01:04 +00:00
|
|
|
(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 } }
|
2019-09-09 21:01:04 +00:00
|
|
|
(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
|
2019-09-09 21:01:04 +00:00
|
|
|
(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
|
2019-09-09 21:01:04 +00:00
|
|
|
(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
|
2019-09-09 21:01:04 +00:00
|
|
|
|
2020-03-22 21:26:39 +00:00
|
|
|
zp[1]:2 [ main::i#2 main::i#1 ]
|
2020-06-27 19:18:00 +00:00
|
|
|
zp[1]:3 [ idx#16 idx#13 ]
|
2020-02-06 00:26:46 +00:00
|
|
|
reg byte a [ main::$3 ]
|
2019-09-09 21:01:04 +00:00
|
|
|
reg byte y [ main::$2 ]
|
2020-03-22 21:26:39 +00:00
|
|
|
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 ]
|
2019-09-09 21:01:04 +00:00
|
|
|
reg byte a [ print::$0 ]
|
2020-06-27 19:18:00 +00:00
|
|
|
reg byte x [ idx#3 ]
|
2019-09-09 21:01:04 +00:00
|
|
|
reg byte a [ print::$1 ]
|
2020-06-27 19:18:00 +00:00
|
|
|
reg byte x [ idx#4 ]
|