# MOVHPD
# Move High Packed Double-Precision Floating-Point Value
Opcode | Mnemonic | Description |
---|---|---|
66 0F 16 /r | MOVHPD xmm, m64 | Move double-precision floating-point value from m64 to high quadword of xmm. |
66 0F 17 /r | MOVHPD m64, xmm | Move double-precision floating-point value from high quadword of xmm to m64. |
# Description
Moves a double-precision floating-point value 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 a double-precision floating-point value 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.
# Operation
//MOVHPD instruction for memory to XMM move:
if(
Destination[64..127] = Source;
//Destination[0..63] unchanged
//MOVHPD instruction for XMM to memory move:
Destination = Source[64..127];
1
2
3
4
5
6
7
2
3
4
5
6
7
# SIMD Floating-Point Exceptions
None.
# Protected Mode Exceptions
# Real-Address Mode Exceptions
# Virtual-8086 Mode Exceptions
Same exceptions as in Real Address Mode
#PF(fault-code) | For a page fault. |
#PF(fault-code) | For a page fault. |