fscanf.asm
bitfixer_bitfixer/dg/z88dk/libsrc/stdio_new/file/fscanf.asm
; int fscanf(FILE *stream, const char *fmt, ...)
; 05.2008 aralbrec

PUBLIC fscanf

EXTERN vfscanf_callee, stdio_varg, stdio_nextarg
EXTERN ASMDISP_VFSCANF_CALLEE

.fscanf

   call stdio_varg
   ld ixl,e
   ld ixh,d                    ; ix = FILE *
   
   call stdio_nextarg          ; de = char *fmt

   ld c,l
   ld b,h
   
   jp vfscanf_callee + ASMDISP_VFSCANF_CALLEE
