Motorola DSP96002 User Manual page 338

32-bit digital signal processor
Table of Contents

Advertisement

FMPY//FSUB.X
Operation:
S1 * S2
ROUND(SEP)
(parallel data bus move)
D2 - S3
ROUND(SEP)
Description:
Multiply the two operands S1 and S2, round to single extended precision and store the result in the spec-
ified destination register D1. Simultaneously, subtract S3 from D2, round to single extended precision and
store the result in the destination operand D2. For the special case of |s|=|D|, the result can be +0 or -0; the
sign of the resulting zero will be the sign of the input operand in D.
Input Operand(s) Precision: SEP Floating-Point.
Subtraction Output Operand Precision: SEP Floating-Point.
Multiplication 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-Set if one of the multiply operands is infinity and the other is zero. Set if the subtract
SNAN -Set if anyone of the source operands is a signaling NaN. Cleared otherwise.
A - 150
Floating-Point
Multiply and Subtract
D1
D2
- Not affected.
- Not affected.
- Set if result of the subtraction is zero. Cleared otherwise.
- Set if result of the subtraction is negative. Cleared otherwise.
- Set if result of the subtraction is infinity. Cleared otherwise.
- Not affected.
- Not affected.
- Not affected.
-Set if the result of the subtraction or multiplication is inexact. Cleared otherwise.
-Always cleared.
-Set if the result of the subtraction or multiplication underflows. Cleared otherwise.
-Set if the result of the subtraction or multiplication overflows. Cleared otherwise.
operands are like-signed infinities. Cleared otherwise.
DSP96002 USER'S MANUAL
FMPY//FSUB.X
Assembler Syntax:
FMPY S1,S2,D1 FSUB.X S3,D2
(move syntax - see the MOVE instruction descrip-
tion.)
FMPY S2,S1,D1 FSUB.X S3,D2
(move syntax - see the MOVE instruction descrip-
tion.)
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents