home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2MISC / CSDPMI3S.ZIP / SRC / CWSDPMI / DOUTILS.ASM < prev    next >
Encoding:
Assembly Source File  |  1994-12-02  |  428 b   |  23 lines

  1. ; New version Oct 1994  -  Morten Welinder (terra@diku.dk)
  2. ; Note: the shift on CX really should be ECX, but we never move a large block
  3.  
  4.     title    doutils
  5.     include    segdefs.inc
  6.     include gdt.inc
  7.  
  8.     start_code16
  9.  
  10.     public    __do_memmov32
  11. __do_memmov32:
  12.     mov    al,cl
  13.     shr    cx,2
  14.     rep    movs dword ptr es:[edi],dword ptr [esi]
  15.     and    al,3
  16.     mov    cl,al
  17.     rep    movs byte ptr es:[edi],byte ptr [esi]
  18.     jmpt    g_ctss
  19.  
  20.     end_code16
  21.  
  22.     end
  23.