NASM - The Netwide Assembler

NASM Forum => Example Code => Topic started by: JoeCoder on June 15, 2011, 11:13:29 AM

Title: Is there an instruction in x86 to move arbitrary length data?
Post by: JoeCoder on June 15, 2011, 11:13:29 AM
Are there storage to storage moves in x86? Can I move arbitrary length data from storage to storage or do I have to always go through a register? Thanks.
Title: Re: Is there an instruction in x86 to move arbitrary length data?
Post by: Keith Kanios on June 15, 2011, 03:07:53 PM
rep (http://pdos.csail.mit.edu/6.828/2006/readings/i386/REP.htm) + movsb/w/d/q (http://pdos.csail.mit.edu/6.828/2006/readings/i386/MOVS.htm)
Title: Re: Is there an instruction in x86 to move arbitrary length data?
Post by: JoeCoder on June 15, 2011, 05:43:21 PM
Thanks a lot Keith, I'll look those up.

Joe