Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
memory copy asm
push di
push si
push cx
mov cx,(number of bytes to move)
lea di,(destination address)
lea si,(source address)
rep movsb
pop cx
pop si
pop di
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment