Import backup from 2003-11-12

This commit is contained in:
josh committed 2017-07-25 22:23:45 -04:00
1 parent 294b4b0e27
commit 70d6bb1eb3
8 files changed
+138 -11

No files matched your search

+1
View File
@@ -1 +1,2 @@
nasmw -f aout -l io.lst io.asm -o io_a.o
nasmw -f aout -l misc.lst misc.asm -o misc.o
+25
View File
@@ -0,0 +1,25 @@
;void memcpy(dword src, dword dest, dword length)
[global _memcpy]
_memcpy:
push ebp
mov ebp, esp
push esi
push edi
push ecx
mov esi, [ebp+8]
mov edi, [ebp+12]
mov ecx, [ebp+14]
rep movsb
pop ecx
pop edi
pop esi
pop ebp
ret
+8
View File
@@ -0,0 +1,8 @@
#ifndef __HMISC_H__
#define __HMISC_H__ __HMISC_H__
void memcpy(dword src, dword dest, dword length);
#endif