Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4973 right-hear 1
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
2
#define USE_ESI
3
#define USE_EDI
4
#include 
5
#include
6
 
7
MK_C_SYM(_movedatal)	/* src_sel, src_ofs, dest_sel, dest_ofs, len */
8
	ENTER
9
 
10
	pushw	%ds
11
	pushw	%es
12
 
13
	movl	ARG1,%eax
14
	movw	%ax,%ds
15
	movl	ARG2,%esi
16
 
17
	movl	ARG3,%eax
18
	movw	%ax,%es
19
	movl	ARG4,%edi
20
 
21
	movl	ARG5,%ecx
22
	cld
23
	rep
24
	movsl
25
 
26
	popw	%es
27
	popw	%ds
28
 
29
	LEAVE