Assembler:Commands:MOVLPS

From Cheat Engine
Revision as of 16:20, 18 January 2018 by OldCheatEngineUser (talk | contribs)
Jump to navigation Jump to search

command movlps destination, source

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


Moves two packed single-precision floating-point values from the source operand (second operand) and the destination operand (first operand). The source and destination operands can be an XMM register or a 64-bit memory location. This instruction allows two single-precision floating-point values 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_191.html


Command Parameters

Parameter Description
destination xmm / m64
source m64 / xmm


Examples

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

 ; ...

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

sse:
 dd (float)5000
 ; dd (float)3000 ; can be used upon requirements

simd:
 dd 0
 dd 0

 ; ...

newmem:
 movlps xmm0,[sse]

 ; ...

code:
 movlps [simd],xmm0

 ; ...

 jmp return

 ; ...

 return:

 [disable]

 ; ...


See also

External links