Assembler:Commands:MOVLHPS

From Cheat Engine
Revision as of 01:02, 26 January 2018 by OldCheatEngineUser (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

command movlhps destination, source

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


Moves two packed single-precision floating-point values from the low quadword of the source operand (second operand) to the high quadword of the destination operand (first operand). The low quadword of the destination operand is left unchanged.

c9x.me/x86/html/file_module_x86_id_189.html


Command Parameters[edit]

Parameter Description
destination xmm
source xmm


Examples[edit]

movlhps xmm2,xmm4
movlhps xmm12,xmm8
movlhps xmm3,xmm5
movlhps xmm15,xmm11
movlhps xmm0,xmm0
[enable]

 ; ...

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

sse:
 dd (float)5000
 dd (float)3000

simd:
 dd (float)7000
 dd (float)1000

 ; ...

newmem:
 movhps xmm0,[sse]
 movlps xmm0,[simd]

 ; ...

code:
 movlhps xmm0,xmm0

 ; ...

 jmp return

 ; ...

return:

 [disable]

 ; ...


See also[edit]

External links[edit]