Difference between revisions of "Assembler:Commands:MOVLPD"

From Cheat Engine
Jump to navigation Jump to search
(Created page with 'Category:Assembler '''command''' movlpd ''destination, source'' Copies the data from source operand to destination operand. Used for Moving Low-Packed Double-Precision Float…')
 
m
Line 48: Line 48:
  
 
  alloc(newmem,$100)
 
  alloc(newmem,$100)
  alloc(sse,$10)
+
  alloc(sse,08)
 +
alloc(simd,08)
  
 
  ; ...
 
  ; ...
Line 58: Line 59:
  
 
code:
 
code:
  movlpd [sse],xmm0
+
  movlpd [simd],xmm0
  
 
  ; ...
 
  ; ...
Line 66: Line 67:
 
sse:
 
sse:
 
  dq (float)5000
 
  dq (float)5000
 +
 +
simd:
 +
dq 0
  
 
  ; ...
 
  ; ...

Revision as of 13:12, 18 January 2018

command movlpd destination, source

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


Moves a double-precision floating-point value from the source operand (second operand) to the destination operand (first operand). The source and destination operands can be an XMM register or a 64-bit memory location. This instruction allows a double-precision floating-point value to be moved to and from the low quadword of an XMM register and memory. It cannot be used for register to register or memory to memory moves. When the destination operand is an XMM register, the high quadword of the register remains unchanged.

c9x.me/x86/html/file_module_x86_id_190.html


Command Parameters

Parameter Description
destination xmm / m64
source m64 / xmm


Examples

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

 ; ...

 alloc(newmem,$100)
 alloc(sse,08)
 alloc(simd,08)

 ; ...

newmem:
 movlpd xmm0,[sse]

 ; ...

code:
 movlpd [simd],xmm0

 ; ...

 jmp return

sse:
 dq (float)5000

simd:
 dq 0

 ; ...

 return:

 [disable]

 ; ...


See also

External links