1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-20 02:32:36 +00:00
kickc/src/test/ref/procedure-callingconvention-stack-0.sym

25 lines
681 B
Plaintext
Raw Normal View History

2019-09-20 06:34:51 +00:00
(label) @1
(label) @begin
(label) @end
(byte*) SCREEN
(const byte*) SCREEN#0 SCREEN = (byte*) 1024
(const word) STACK_BASE STACK_BASE = (word) $103
(void()) main()
(byte~) main::$0 reg byte a 2.0
2019-09-20 06:34:51 +00:00
(label) main::@return
__stackcall (byte()) plus((byte) plus::a , (byte) plus::b)
(label) plus::@return
(const byte) plus::OFFSET_STACK_A OFFSET_STACK_A = (byte) 0
(const byte) plus::OFFSET_STACK_B OFFSET_STACK_B = (byte) 1
(byte) plus::a
(byte) plus::a#0 a zp ZP_BYTE:2 2.0
(byte) plus::b
(byte) plus::b#0 reg byte a 4.0
(byte) plus::return
(byte) plus::return#0 reg byte a 2.0
reg byte a [ main::$0 ]
zp ZP_BYTE:2 [ plus::a#0 ]
2019-09-20 06:34:51 +00:00
reg byte a [ plus::b#0 ]
reg byte a [ plus::return#0 ]