memchr.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/string/c/sdcc_iy/memchr.asm

; void *memchr(const void *s, int c, size_t n)

SECTION code_clib
SECTION code_string

PUBLIC _memchr

EXTERN l0_memchr_callee

_memchr:

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

   jp l0_memchr_callee
