beautypg.com

Fmpy.s floating-point multiply fmpy.s – Motorola DSP96002 User Manual

Page 340

background image

A - 152

DSP96002 USER’S MANUAL

MOTOROLA

FMPY.S

Floating-Point Multiply

FMPY.S

Operation:

S1 * S2

ROUND(SP)

D

(parallel data bus move)

S1 * S2

ROUND(SP)

D

(parallel data bus move)

Assembler Syntax:

FMPY.S S1,S2,D
(move syntax - see the MOVE instruction de-
scription.)

FMPY.S S2,S1,D
(move syntax - see the MOVE instruction de-
scription.)

Description:

Multiply the two specified operands S1 and S2, round to single precision and store the result in the desti-

nation operand D.

Input Operand(s) Precision: SEP Floating-Point.

Output Operand Precision: SP 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

-Set if result underflows. Cleared otherwise.

OVF

-Set if result overflows. Cleared otherwise.

OPERR-Set if one operand is infinity and the other zero. Cleared otherwise.

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.