heap_init_callee.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/alloc/malloc/c/sccz80/heap_init_callee.asm

; void *heap_init(void *heap, size_t size)

SECTION code_clib
SECTION code_alloc_malloc

PUBLIC heap_init_callee

EXTERN asm_heap_init

heap_init_callee:

   pop hl
   pop bc
   ex (sp),hl
   
   jp asm_heap_init
