Assembler:Commands:CVTSI2SD

From Cheat Engine
Revision as of 06:37, 31 January 2018 by OldCheatEngineUser (talk | contribs) (Created page with 'Category:Assembler '''command''' cvtsi2sd ''destination, source'' Converts doubleword integer to double precision floating point value. Used for Converting Doubleword Intege…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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.

c9x.me/x86/html/file_module_x86_id_58.html


Command Parameters

Parameter Description
destination xmm
source r / m32


Examples

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

 ; ...

 alloc(newmem,$100)

 ; ...

newmem:
 mov eax,00001388
 cvtsi2sd xmm0,eax

 ; ...

 jmp return

 ; ...

return:

 [disable]

 ; ...


See also

External links