Motorola DSP96002 User Manual page 324

32-bit digital signal processor
Table of Contents

Advertisement

FLOOR
Operation:
S
ROUND TO INTEGER
(parallel data bus move)
Description:
Round the floating-point source operand S to an integer value using the round to minus infinity mode and
store the result as a floating-point number in the specified destination D. The rounding precision is always
SEP. FLOOR is equivalent to FINT with R1, R0 in the IER set to select minus infinity; however, the round-
ing mode does not need to be saved, changed, and recalled. This is particularly useful when using C since
FLOOR is a standard C function.
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.
A - 136
Extract the Integer Part
D
- 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:
FLOOR S,D (move syntax - see the MOVE in-
struction description.)
FLOOR
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents