وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

CVTTSS2SI

CVTTSS2SI 

Usage: CVTTSS2SI dest,src                                    Modifies flags: None

Converts a single-precision floating-point value in the 'src' to a signed doubleword integer in the 'dest' operand. 

Scalar Single-Precision FP to Signed INT32 Conversion with Truncation


CVTTSD2SI reg32,xmm/mem32      ; F3 0F 2C /r    [KATMAI,SSE]


CVTTSS2SI converts a single-precision FP value in the source operand to a signed doubleword in the destination operand. If the result is inexact, it is truncated (rounded toward zero).


The destination operand is a general purpose register. The source can be either an XMM register or a 32-bit memory location. If the source is a register, the input value is in the low doubleword. For more details of this instruction, see the Intel Processor manuals.


Example:

cvttss2si xmm1 xmm2