home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / libc / pc_hw / mem / md.s < prev    next >
Encoding:
Text File  |  1995-03-11  |  377 b   |  26 lines

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #define USE_ESI
  3. #define USE_EDI
  4. #include <libc/asmdefs.h>
  5.  
  6.     FUNC(___movedata)    /* src_sel, src_ofs, dest_sel, dest_ofs, len */
  7.     ENTER
  8.  
  9.     pushw    %ds
  10.     pushw    %es
  11.  
  12.     movw    ARG1,%ds
  13.     movw    ARG3,%es
  14.  
  15.     movl    ARG2,%esi
  16.     movl    ARG4,%edi
  17.     movl    ARG5,%ecx
  18.  
  19.     call    ___dj_movedata
  20.  
  21.     popw    %es
  22.     popw    %ds
  23.  
  24.     LEAVE
  25.  
  26.