Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .MODEL FLAT, STDCALL
- OPTION NOKEYWORD:<size>
- .CODE
- f_memcpy PROC USES ESI EDI dest : DWORD, source : DWORD, size : DWORD
- MOV EDI, dest
- MOV ESI, source
- MOV ECX, size
- AGAIN_:
- LODSB
- STOSB
- LOOP AGAIN_
- RET
- f_memcpy ENDP
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement