repo.or.cz
/
syslinux-debian
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding debian version 3.70~pre8+dfsg-1.
[syslinux-debian/hramrach.git]
/
memdisk
/
memcpy.S
blob
82ec870eacc7d2db02453f1b8ed174b936894030
1
#
2
# memcpy.S
3
#
4
# Simple memcpy() implementation
5
#
6
7
.text
8
.globl memcpy
9
.type memcpy, @function
10
memcpy:
11
cld
12
pushl %edi
13
pushl %esi
14
movl 12(%esp),%edi
15
movl 16(%esp),%esi
16
movl 20(%esp),%eax
17
movl %eax,%ecx
18
shrl $2,%ecx
19
rep ; movsl
20
movl %eax,%ecx
21
andl $3,%ecx
22
rep ; movsb
23
movl 12(%esp),%eax
24
popl %esi
25
popl %edi
26
ret
27
28
.size memcpy,.-memcpy