Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .intel_syntax noprefix
- .text
- .global amemmove
- amemmove:
- push ebp
- mov ebp,esp
- mov eax, BYTE PTR [ebp+8] // eax = *dest
- mov ecx, BYTE PTR [ebp+12] // ecx = *src
- mov edx, WORD [ebp+16] // edx = nbytes
- std
- mov
- mov esp, ebp
- pop ebp
- ret
- .end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement