Difference between revisions of "Assembler:Commands:MOVSD"

From Cheat Engine
Jump to navigation Jump to search
m
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
When the source and destination operands are XMM registers, the high quadword of the destination operand remains unchanged. When the source operand is a memory location and destination operand is an XMM registers, the high quadword of the destination operand is cleared to all 0s.
 
When the source and destination operands are XMM registers, the high quadword of the destination operand remains unchanged. When the source operand is a memory location and destination operand is an XMM registers, the high quadword of the destination operand is cleared to all 0s.
  
[http://x86.renejeschke.de/html/file_module_x86_id_204.html x86.renejeschke.de/html/file_module_x86_id_204.html]
+
[https://c9x.me/x86/html/file_module_x86_id_204.html c9x.me/x86/html/file_module_x86_id_204.html]
 
</div>
 
</div>
  
Line 20: Line 20:
 
|-
 
|-
 
|destination
 
|destination
|The destination operand
+
|xmm / m64
 
|-
 
|-
 
|source
 
|source
|The source operand
+
|m64 / xmm
 
|}
 
|}
  
Line 41: Line 41:
 
  movsd xmm5,[00123abc]
 
  movsd xmm5,[00123abc]
  
  movsd [00123bc],xmm12
+
  movsd [00123abc],xmm12
  
 
  movsd xmm7,[UserDefinedSymbol]
 
  movsd xmm7,[UserDefinedSymbol]
Line 51: Line 51:
  
 
== External links ==
 
== External links ==
* [http://x86.renejeschke.de/ x86.renejeschke.de]
+
* [https://c9x.me/x86/ c9x.me/x86/]
 
* [http://ref.x86asm.net/ ref.x86asm.net]
 
* [http://ref.x86asm.net/ ref.x86asm.net]
 
* [https://wikipedia.org/wiki/X86_instruction_listings wikipedia.org/wiki/X86_instruction_listings]
 
* [https://wikipedia.org/wiki/X86_instruction_listings wikipedia.org/wiki/X86_instruction_listings]

Latest revision as of 00:46, 3 January 2018

command movsd destination, source

Copies the data from source operand to destination operand. Used for Moving Scalar Double-Precision Floating-Point Values. The movsd command can only be used with xmm registers.


Moves a scalar double-precision floating-point value from the source operand (second operand) to the destination operand (first operand). The source and destination operands can be XMM registers or 64-bit memory locations. This instruction can be used to move a double-precision floating-point value to and from the low quadword of an XMM register and a 64-bit memory location, or to move a double-precision floating-point value between the low quadwords of two XMM registers. The instruction cannot be used to transfer data between memory locations.

When the source and destination operands are XMM registers, the high quadword of the destination operand remains unchanged. When the source operand is a memory location and destination operand is an XMM registers, the high quadword of the destination operand is cleared to all 0s.

c9x.me/x86/html/file_module_x86_id_204.html


Command Parameters[edit]

Parameter Description
destination xmm / m64
source m64 / xmm


Examples[edit]

movsd xmm0,xmm1
movsd [edx+110],xmm4
movsd [rdx+10],xmm8
movsd xmm3,[edx+110]
movsd xmm15,[rdx+10]
movsd xmm5,[00123abc]
movsd [00123abc],xmm12
movsd xmm7,[UserDefinedSymbol]
movsd [UserdefinedSymbol],xmm10


See also[edit]

External links[edit]