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

44 lines
1.2 KiB
Plaintext
Raw Normal View History

(label) @1
(label) @begin
(label) @end
(const byte*) HEAP_TOP = (byte*) 40960
(const byte) RADIX::BINARY = (number) 2
(const byte) RADIX::DECIMAL = (number) $a
(const byte) RADIX::HEXADECIMAL = (number) $10
(const byte) RADIX::OCTAL = (number) 8
(void()) free((void*) free::ptr)
(label) free::@return
(void*) free::ptr
(byte*) heap_head
2019-10-12 09:40:36 +00:00
(byte*) heap_head#1 heap_head zp[2]:2 1.0
(byte*) heap_head#7 heap_head zp[2]:2 4.0
(void()) main()
(byte~) main::$4 reg byte a 22.0
(label) main::@1
(label) main::@2
(label) main::@3
(label) main::@4
(label) main::@5
(label) main::@6
(label) main::@return
(byte*) main::buf1
2019-10-12 09:40:36 +00:00
(void*) main::buf1#0 buf1 zp[2]:4 0.15384615384615385
(byte*) main::buf2
2019-10-12 09:40:36 +00:00
(void*) main::buf2#0 buf2 zp[2]:6 0.16666666666666666
(byte) main::i
(byte) main::i#1 reg byte y 16.5
(byte) main::i#2 reg byte y 16.5
(const byte*) main::screen = (byte*) 1024
(void*()) malloc((word) malloc::size)
(label) malloc::@return
(byte*) malloc::mem
2019-10-12 09:40:36 +00:00
(byte*) malloc::mem#0 mem zp[2]:6 0.8
(void*) malloc::return
(word) malloc::size
reg byte y [ main::i#2 main::i#1 ]
2019-10-12 09:40:36 +00:00
zp[2]:2 [ heap_head#7 heap_head#1 ]
zp[2]:4 [ main::buf1#0 ]
zp[2]:6 [ main::buf2#0 malloc::mem#0 ]
reg byte a [ main::$4 ]