Assembler:Commands:MOVHLPS

From Cheat Engine
Revision as of 00:58, 26 January 2018 by OldCheatEngineUser (talk | contribs) (Created page with 'Category:Assembler '''command''' movhlps ''destination, source'' Copies the data from source operand to destination operand. Used for Moving Packed Single-Precision Floating…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

command movhlps destination, source

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


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

c9x.me/x86/html/file_module_x86_id_186.html


Command Parameters

Parameter Description
destination xmm
source xmm


Examples

movhlps xmm2,xmm4
movhlps xmm12,xmm8
movhlps xmm3,xmm5
movhlps xmm15,xmm11
movhlps 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:
 movhlps xmm0,xmm0

 ; ...

 jmp return

 ; ...

return:

 [disable]

 ; ...


See also

External links