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

30 lines
842 B
Plaintext
Raw Normal View History

constant byte* HEAP_TOP = (byte*) 40960
constant byte RADIX::BINARY = 2
constant byte RADIX::DECIMAL = $a
constant byte RADIX::HEXADECIMAL = $10
constant byte RADIX::OCTAL = 8
2020-10-05 20:58:02 +00:00
byte* heap_head
byte* heap_head#0 heap_head zp[2]:2 3.25
byte* heap_head#8 heap_head zp[2]:2 13.0
void main()
byte~ main::$4 reg byte a 22.0
byte* main::buf1
void* main::buf1#0 buf1 zp[2]:4 0.2222222222222222
byte* main::buf2
void* main::buf2#0 buf2 zp[2]:6 0.25
byte main::i
byte main::i#1 reg byte y 16.5
byte main::i#2 reg byte y 16.5
constant byte* main::screen = (byte*) 1024
2020-10-05 20:58:02 +00:00
void* malloc(word malloc::size)
byte* malloc::mem
byte* malloc::mem#0 mem zp[2]:6 4.4
void* malloc::return
word malloc::size
reg byte y [ main::i#2 main::i#1 ]
2020-06-27 19:18:00 +00:00
zp[2]:2 [ heap_head#8 heap_head#0 ]
2019-10-12 09:40:36 +00:00
zp[2]:4 [ main::buf1#0 ]
zp[2]:6 [ main::buf2#0 malloc::mem#0 ]
reg byte a [ main::$4 ]