Stereo System User Manual
A - 136 DSP96002 USER’S MANUAL MOTOROLA
FLOOR Extract the Integer Part FLOOR
Operation:
S→ ROUND TO INTEGER → D
(parallel data bus move)
Assembler Syntax:
FLOOR S,D (move syntax - see the MOVE in-
struction description.)
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 - 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.