1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-30 09:57:11 +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
(byte*) heap_head#1 heap_head zp[2]:2 28.0
(byte*) heap_head#7 heap_head zp[2]:2 112.0
(void()) main()
(byte~) main::$4 reg byte a 202.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
(void*) main::buf1#0 buf1 zp[2]:4 0.8461538461538461
(byte*) main::buf2
(void*) main::buf2#0 buf2 zp[2]:6 0.9166666666666666
(byte) main::i
(byte) main::i#1 reg byte y 151.5
(byte) main::i#2 reg byte y 151.5
(const byte*) main::screen = (byte*) 1024
(void*()) malloc((word) malloc::size)
(label) malloc::@return
(byte*) malloc::mem
(byte*) malloc::mem#0 mem zp[2]:6 40.4
(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 ]