Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  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. #include <libc/asmdefs.h>
  6. #include<libc/asm.h>
  7.  
  8. MK_C_SYM(__movedata)    /* src_sel, src_ofs, dest_sel, dest_ofs, len */
  9.         ENTER
  10.  
  11.         pushw   %ds
  12.         pushw   %es
  13.  
  14.         movw    ARG1,%ds
  15.         movw    ARG3,%es
  16.  
  17.         movl    ARG2,%esi
  18.         movl    ARG4,%edi
  19.         movl    ARG5,%ecx
  20.  
  21.         call    C_SYM(__dj_movedata)
  22.  
  23.         popw    %es
  24.         popw    %ds
  25.  
  26.         LEAVE
  27.  
  28.