https://wiki.cheatengine.org/index.php?title=Assembler:Commands:CVTDQ2PS&feed=atom&action=history
Assembler:Commands:CVTDQ2PS - Revision history
2024-03-28T14:38:18Z
Revision history for this page on the wiki
MediaWiki 1.32.0
https://wiki.cheatengine.org/index.php?title=Assembler:Commands:CVTDQ2PS&diff=5703&oldid=prev
OldCheatEngineUser: Created page with 'Category:Assembler '''command''' cvtdq2ps ''destination, source'' Converts doubleword integer to single precision floating point value. Used for Converting Packed-Doubleword…'
2018-01-26T16:51:57Z
<p>Created page with '<a href="/index.php?title=Category:Assembler" title="Category:Assembler">Category:Assembler</a> '''command''' cvtdq2ps ''destination, source'' Converts doubleword integer to single precision floating point value. Used for Converting Packed-Doubleword…'</p>
<p><b>New page</b></p><div>[[Category:Assembler]]<br />
'''command''' cvtdq2ps ''destination, source''<br />
<br />
Converts doubleword integer to single precision floating point value. Used for Converting Packed-Doubleword To Packed-Single-Precision Floating-Point Values. The cvtdq2ps command must be used with xmm registers.<br />
<br />
<br />
<div style="padding:2px;border:1px dashed #2f6fab;background-color:#f4f4f4;"><br />
Converts four packed signed doubleword integers in the source operand (second operand) to four packed single-precision floating-point values in the destination operand (first operand). The source operand can be an XMM register or a 128-bit memory location. The destination operand is an XMM register. When a conversion is inexact, rounding is performed according to the rounding control bits in the MXCSR register.<br />
<br />
[https://c9x.me/x86/html/file_module_x86_id_47.html c9x.me/x86/html/file_module_x86_id_47.html]<br />
</div><br />
<br />
<br />
=== Command Parameters ===<br />
{|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0"<br />
!align="left"|Parameter<br />
!style="width: 80%;background-color:white;" align="left"|Description<br />
|-<br />
|destination<br />
|xmm<br />
|-<br />
|source<br />
|m128 / xmm<br />
|}<br />
<br />
<br />
== Examples ==<br />
<br />
cvtdq2ps xmm1,xmm1<br />
<br />
cvtdq2ps xmm3,[edx+110]<br />
<br />
cvtdq2ps xmm15,[rdx+10]<br />
<br />
cvtdq2ps xmm5,[00123abc]<br />
<br />
cvtdq2ps xmm7,[UserDefinedSymbol]<br />
<br />
<pre>[enable]<br />
<br />
; ...<br />
<br />
alloc(newmem,$100)<br />
globalalloc(sse,08)<br />
<br />
sse:<br />
dd 64<br />
dd 63<br />
dd 62<br />
dd 61<br />
<br />
; ...<br />
<br />
newmem:<br />
cvtdq2ps xmm0,[sse]<br />
<br />
; ...<br />
<br />
jmp return<br />
<br />
; ...<br />
<br />
return:<br />
<br />
[disable]<br />
<br />
; ...</pre><br />
<br />
<br />
{{AssemblerCommandSeeAlso}}<br />
<br />
== External links ==<br />
* [https://c9x.me/x86/ c9x.me/x86/]<br />
* [http://ref.x86asm.net/ ref.x86asm.net]<br />
* [https://wikipedia.org/wiki/X86_instruction_listings wikipedia.org/wiki/X86_instruction_listings]</div>
OldCheatEngineUser