From Cheat Engine

Jump to: navigation, search

command cvtsi2sd destination, source

Converts doubleword integer to double precision floating point value. Used for Converting Doubleword Integer To Scalar-Double-Precision Floating-Point Values. The cvtsi2sd command must be used with xmm registers.

Converts a signed doubleword integer in the source operand (second operand) to a double-precision floating-point value in the destination operand (first operand). The source operand can be a general-purpose register or a 32-bit memory location. The destination operand is an XMM register. The result is stored in the low quadword of the destination operand, and the high quadword left unchanged.


[edit] Command Parameters

Parameter Description
destination xmm
source r / m32

[edit] Examples

cvtsi2sd xmm1,eax
cvtsi2sd xmm3,[edx+110]
cvtsi2sd xmm5,[00123abc]
cvtsi2sd xmm7,[UserDefinedSymbol]

 ; ...


 ; ...

 mov eax,00001388
 cvtsi2sd xmm0,eax

 ; ...

 jmp return

 ; ...



 ; ...

[edit] See also

[edit] External links

Personal tools