13.07.2015 Views

Volume 3: General-Purpose and System Instructions - Stanford ...

Volume 3: General-Purpose and System Instructions - Stanford ...

Volume 3: General-Purpose and System Instructions - Stanford ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

AMD64 Technology 24594 Rev. 3.10 February 2005MOVDMove Doubleword or QuadwordMoves a 32-bit or 64-bit value in one of the following ways:• from a 32-bit or 64-bit general-purpose register or memory location to the loworder32 or 64 bits of an XMM register, with zero-extension to 128 bits• from the low-order 32 or 64 bits of an XMM to a 32-bit or 64-bit general-purposeregister or memory location• from a 32-bit or 64-bit general-purpose register or memory location to the loworder32 bits (with zero-extension to 64 bits) or the full 64 bits of an MMX register• from the low-order 32 or the full 64 bits of an MMX register to a 32-bit or 64-bitgeneral-purpose register or memory locationMnemonic Opcode DescriptionMOVD xmm, reg/mem32 66 0F 6E /rMOVD xmm, reg/mem64 66 0F 6E /rMOVD reg/mem32, xmm 66 0F 7E /rMOVD reg/mem64, xmm 66 0F 7E /rMOVD mmx, reg/mem32 0F 6E /rMOVD mmx, reg/mem64 0F 6E /rMOVD reg/mem32, mmx 0F 7E /rMOVD reg/mem64, mmx 0F 7E /rMove 32-bit value from a general-purpose register or 32-bitmemory location to an XMM register.Move 64-bit value from a general-purpose register or 64-bitmemory location to an XMM register.Move 32-bit value from an XMM register to a 32-bit generalpurposeregister or memory location.Move 64-bit value from an XMM register to a 64-bit generalpurposeregister or memory location.Move 32-bit value from a general-purpose register or 32-bitmemory location to an MMX register.Move 64-bit value from a general-purpose register or 64-bitmemory location to an MMX register.Move 32-bit value from an MMX register to a 32-bit generalpurposeregister or memory location.Move 64-bit value from an MMX register to a 64-bit generalpurposeregister or memory location.The diagrams in Figure 3-7 on page 197 illustrate the operation of the MOVDinstruction.196 MOVD

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!