Assembler:Commands:CVTDQ2PD
Jump to navigation
Jump to search
command cvtdq2pd destination, source
Converts doubleword integer to double precision floating point value. Used for Converting Packed-Doubleword To Packed-Double-Precision Floating-Point Values. The cvtdq2pd command must be used with xmm registers.
Converts two packed signed doubleword integers in the source operand (second operand) to two packed double-precision floating-point values in the destination operand (first operand). The source operand can be an XMM register or a 64-bit memory location. The destination operand is an XMM register. When the source operand is an XMM register, the packed integers are located in the low quadword of the register.
Command Parameters
Parameter | Description |
---|---|
destination | xmm |
source | m64 / xmm |
Examples
cvtdq2pd xmm1,xmm1
cvtdq2pd xmm3,[edx+110]
cvtdq2pd xmm15,[rdx+10]
cvtdq2pd xmm5,[00123abc]
cvtdq2pd xmm7,[UserDefinedSymbol]
[enable] ; ... alloc(newmem,$100) globalalloc(sse,08) sse: dd 64 dd 63 ; ... newmem: cvtdq2pd xmm0,[sse] ; ... jmp return ; ... return: [disable] ; ...