FISTTP
Usage: FISTTP dest Modifies flags: See below.
Converts the value in ST into a signed integer using truncation (chop) as rounding mode, transfers the result to the destination, and pops ST.
Store Integer with Truncation
FISTTP Mem16int ; DF/1 [Pent4]
FISTTP Mem32int ; DB/1 [Pent4]
FISTTP Mem64int ; DD/1 [Pent4]
FISTTP does a conversion of ST into a signed integer truncating and storing the result in the destination then pops ST.
FISTTP accepts word, short integer, and long integer destinations.
Flags Affected
C1 is cleared; C0, C2, C3 undefined.
EXAMPLE:
fisttp Label