1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-29 03:56:15 +00:00
kickc/src/test/ref/struct-20.sym
2020-03-29 21:00:25 +02:00

23 lines
640 B
Plaintext

(const struct Point) $0 = { x: (byte) 2, y: (byte) 3 }
(const struct Point) $1 = { x: (byte) 4, y: (byte) 5 }
(label) @1
(label) @begin
(label) @end
(const byte) OFFSET_STRUCT_POINT_Y = (byte) 1
(const byte) OFFSET_STRUCT_VECTOR_Q = (byte) 2
(byte) Point::x
(byte) Point::y
(const nomodify byte*) SCREEN = (byte*) 1024
(const byte) SIZEOF_STRUCT_POINT = (byte) 2
(struct Point) Vector::p
(struct Point) Vector::q
(void()) main()
(label) main::@return
(struct Point) main::p1 loadstore zp[2]:2
(struct Point) main::p2 loadstore zp[2]:4
(struct Vector) main::v loadstore zp[4]:6
zp[2]:2 [ main::p1 ]
zp[2]:4 [ main::p2 ]
zp[4]:6 [ main::v ]