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

; char *stpncpy(char * restrict s1, const char * restrict s2, size_t n)

SECTION code_clib
SECTION code_string

PUBLIC _stpncpy

EXTERN asm_stpncpy

_stpncpy:

   pop af
   pop de
   pop hl
   pop bc
   
   push bc
   push hl
   push de
   push af
   
   jp asm_stpncpy
