Stereo System User Manual

A - 120 DSP96002 USER’S MANUAL MOTOROLA
FINT Extract the Integer Part FINT
Assembler Syntax:
FINT S,D (move syntax - see the MOVE instruction de-
scription.)
Description:
Round the floating-point source operand S to an integer value using the current rounding mode specified
by bits R1-R0 in the IER register, and store the result as a floating-point number in the specified destination
D. The rounding precision is always SEP. For example: if the rounding is to +∞, then 110.50 rounds to
111.00; however if the rounding is to 0, -, or even, then 110.50 rounds to 110.0.
Input Operand(s) Precision: SEP Floating-Point.
Output Operand Precision: SEP Floating-Point.
CCR Condition Codes:
C - Not affected.
V - Not affected.
Z - Set if result is zero. Cleared otherwise.
N - Set if result is negative. Cleared otherwise.
I - Set if result is infinity. Cleared otherwise.
LR - Not affected.
R - Not affected.
A - Not affected.
ER Status Bits:
INX -Set if result is inexact. Cleared otherwise.
DZ -Always cleared.
UNF -Always cleared.
OVF -Always cleared.
OPERR-Always cleared.
SNAN -Set if operand is a signaling NaN. Cleared otherwise.
NAN -Set if result is a NaN. Cleared otherwise.
UNCC -Always cleared.
IER Flags: Flags changed according to standard definition.
Instruction Fields:
Operation:
S ROUND TO INTEGER D
(parallel data bus move)