Assembler:Commands:MOVHPS
command movhps destination, source
Copies the data from source operand to destination operand. Used for Moving High-Packed Single-Precision Floating-Point Values. The movhps command can only be used with xmm registers.
Moves two packed single-precision floating-point values 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 two single-precision floating-point values to be moved to and from the high 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 low quadword of the register remains unchanged.
Command Parameters
Parameter | Description |
---|---|
destination | xmm / m64 |
source | m64 / xmm |
Examples
movhps [edx+110],xmm4
movhps [rdx+10],xmm8
movhps xmm3,[edx+110]
movhps xmm15,[rdx+10]
movhps xmm5,[00123abc]
movhps [00123abc],xmm12
movhps xmm7,[UserDefinedSymbol]
movhps [UserdefinedSymbol],xmm10
[enable] ; ... alloc(newmem,$100) alloc(sse,08) alloc(simd,08) ; ... newmem: movhps xmm0,[sse] ; ... code: movhps [simd],xmm0 ; ... jmp return sse: dd (float)5000 ; dd (float)3000 ; can be used upon requirements simd: dd 0 dd 0 ; ... return: [disable] ; ...