Skip to content

Instantly share code, notes, and snippets.

@bw2012
Created July 5, 2020 13:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bw2012/1eb0f0bacf282f6d5b6717fc01bf67f7 to your computer and use it in GitHub Desktop.
Save bw2012/1eb0f0bacf282f6d5b6717fc01bf67f7 to your computer and use it in GitHub Desktop.
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