memmem.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/string/c/sccz80/memmem.asm

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

SECTION code_clib
SECTION code_string

PUBLIC memmem

EXTERN asm_memmem

memmem:

   pop af
   pop bc
   pop de
   pop hl
   pop ix
   
   push ix
   push hl
   push de
   push bc
   push af
   
   jp asm_memmem
