Motorola DSP96002 User Manual page 308

32-bit digital signal processor
Table of Contents

Advertisement

FINT
Operation:
S
ROUND TO INTEGER
(parallel data bus move)
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 +
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
V
Z
N
I
LR
R
A
ER Status Bits:
INX
DZ
UNF
OVF
OPERR-Always cleared.
SNAN -Set if operand is a signaling NaN. Cleared otherwise.
NAN
UNCC -Always cleared.
IER Flags: Flags changed according to standard definition.
Instruction Fields:
A - 120
Extract the Integer Part
D
FINT S,D (move syntax - see the MOVE instruction de-
- Not affected.
- Not affected.
- Set if result is zero. Cleared otherwise.
- Set if result is negative. Cleared otherwise.
- Set if result is infinity. Cleared otherwise.
- Not affected.
- Not affected.
- Not affected.
-Set if result is inexact. Cleared otherwise.
-Always cleared.
-Always cleared.
-Always cleared.
-Set if result is a NaN. Cleared otherwise.
DSP96002 USER'S MANUAL
Assembler Syntax:
scription.)
FINT
then 110.50 rounds to
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents