Difference between revisions of "Assembler:Commands:MOVLHPS"
Jump to navigation
Jump to search
(Created page with 'Category:Assembler '''command''' movlhps ''destination, source'' Copies the data from source operand to destination operand. Used for Moving Packed Single-Precision Floating…') |
m |
||
Line 6: | Line 6: | ||
<div style="padding:2px;border:1px dashed #2f6fab;background-color:#f4f4f4;"> | <div style="padding:2px;border:1px dashed #2f6fab;background-color:#f4f4f4;"> | ||
− | Moves two packed single-precision floating-point values from the | + | 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. |
[https://c9x.me/x86/html/file_module_x86_id_189.html c9x.me/x86/html/file_module_x86_id_189.html] | [https://c9x.me/x86/html/file_module_x86_id_189.html c9x.me/x86/html/file_module_x86_id_189.html] |
Revision as of 01:01, 26 January 2018
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.
Command Parameters
Parameter | Description |
---|---|
destination | xmm |
source | xmm |
Examples
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: movlps xmm0,[sse] movhps xmm0,[simd] ; ... code: movlhps xmm0,xmm0 ; ... jmp return ; ... return: [disable] ; ...