dup.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/fcntl/c/sdcc_ix/dup.asm

; int dup(int fd)

SECTION code_clib
SECTION code_fcntl

PUBLIC _dup

EXTERN _dup_fastcall

_dup:

   pop af
   pop hl
   
   push hl
   push af

   jp _dup_fastcall
