1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-29 03:56:15 +00:00
kickc/src/test/ref/malloc-0.sym

23 lines
623 B
Plaintext

byte* BYTES
const byte* BYTES#0 BYTES = (byte*)malloc::return#0
const byte* HEAP_TOP = (byte*) 40960
const byte RADIX::BINARY = 2
const byte RADIX::DECIMAL = $a
const byte RADIX::HEXADECIMAL = $10
const byte RADIX::OCTAL = 8
void __start()
byte* heap_head
void main()
byte main::i
byte main::i#1 reg byte x 151.5
byte main::i#2 reg byte x 202.0
void* malloc(word malloc::size)
byte* malloc::mem
const byte* malloc::mem#0 mem = HEAP_TOP-malloc::size#0
void* malloc::return
const void* malloc::return#0 return = (void*)malloc::mem#0
word malloc::size
const word malloc::size#0 size = $100
reg byte x [ main::i#2 main::i#1 ]