removing now unneeded dir from package
[drnoksnes] / misc_i386.s
1
2 .text
3 .global memset32 # int *dest, int c, int count
4
5 memset32:
6         movl %edi, %edx
7         movl 4(%esp), %edi
8         movl 8(%esp), %eax
9         movl 12(%esp), %ecx
10         cld
11         rep stosl
12         movl %edx, %edi
13         ret
14
15 .global memcpy32 # int *dest, int *src, int count
16
17 memcpy32:
18         movl %edi, %edx
19         movl 4(%esp), %edi
20         movl 8(%esp), %eax
21         movl 12(%esp), %ecx
22         cld
23         rep movsl
24         movl %edx, %edi
25         ret
26