


;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



