fputc_unlocked_callee.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/fputc_unlocked_callee.asm

; int fputc_unlocked_callee(int c, FILE *stream)

SECTION code_clib
SECTION code_stdio

PUBLIC _fputc_unlocked_callee, l0_fputc_unlocked_callee

EXTERN asm_fputc_unlocked

_fputc_unlocked_callee:

   pop hl
   pop de
   ex (sp),hl

l0_fputc_unlocked_callee:

   push hl
   ex (sp),ix
   
   call asm_fputc_unlocked
   
   pop ix
   ret
