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

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

scs.stanford.edu
from scs.stanford.edu More from this publisher
13.07.2015 Views

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

24594 Rev. 3.10 February 2005 AMD64 Technologyxmm127 32 31 00reg/mem32310xmm127 64 63 00reg/mem6463 0All operationsare "copy"reg/mem3231 0with REX prefixxmm127 32 310reg/mem6463 0xmm127 64 63 0mmx63 32 3100with REX prefixreg/mem32310mmx63 0reg/mem6463 0reg/mem3231 0with REX prefixmmx63 32 31 0reg/mem6463 0mmx63 0with REX prefixmovd.epsFigure 3-7.MOVD Instruction OperationMOVD 197

24594 Rev. 3.10 February 2005 AMD64 Technologyxmm127 32 31 00reg/mem32310xmm127 64 63 00reg/mem6463 0All operationsare "copy"reg/mem3231 0with REX prefixxmm127 32 310reg/mem6463 0xmm127 64 63 0mmx63 32 3100with REX prefixreg/mem32310mmx63 0reg/mem6463 0reg/mem3231 0with REX prefixmmx63 32 31 0reg/mem6463 0mmx63 0with REX prefixmovd.epsFigure 3-7.MOVD Instruction OperationMOVD 197

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

Saved successfully!

Ooh no, something went wrong!