strtol_callee.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/stdlib/c/sdcc_ix/strtol_callee.asm

; long strtol_callee( const char * restrict nptr, char ** restrict endptr, int base)

SECTION code_clib
SECTION code_stdlib

PUBLIC _strtol_callee, l0_strtol_callee

EXTERN asm_strtol

_strtol_callee:

   pop af
   pop hl
   pop de
   pop bc
   push af

l0_strtol_callee:

   push ix
   
   call asm_strtol
   
   pop ix
   ret
