calloc.asm
bitfixer_bitfixer/dg/z88dk/libsrc/malloc/calloc.asm
; CALLEE linkage for function pointers

PUBLIC calloc

EXTERN HeapCalloc_callee
EXTERN _heap, ASMDISP_HEAPCALLOC_CALLEE

.calloc

   pop bc
   pop de
   pop hl
   push hl
   push de
   push bc
   
   ld bc,_heap
   jp HeapCalloc_callee + ASMDISP_HEAPCALLOC_CALLEE
