memmem_callee.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/string/c/sdcc_ix/memmem_callee.asm

; void *memmem_callee(const void *big, size_t big_len, const void *little, size_t little_len)

SECTION code_clib
SECTION code_string

PUBLIC _memmem_callee, l0_memmem_callee

EXTERN asm_memmem

_memmem_callee:

   pop af
   exx
   pop bc
   exx
   pop hl
   pop de
   pop bc
   push af

l0_memmem_callee:

   exx
   push bc
   exx
   
   ex (sp),ix
   
   call asm_memmem
   
   pop ix
   ret
