beautypg.com

Motorola DSP96002 User Manual

Page 333

background image

MOTOROLA

DSP96002 USER’S MANUAL

A - 145

ER Status Bits:

INX

- Set if the result of the addition, subtraction or multiplication is inexact. Cleared oth-

erwise.

DZ

- Always cleared.

UNF

- Set if the result of the addition, subtraction or multiplication underflows. Cleared

otherwise.

OVF

- Set if the result of the addition, subtraction or multiplication overflows. Cleared oth-

erwise.

OPERR- Set if one of the multiply operands is infinity and the other is zero. Set if the addition

operands are opposite-signed infinities. Set if the subtract operands are like-
signed infinities. Cleared otherwise.

SNAN - Set if anyone of the source operands is a signaling NaN. Cleared otherwise.

NAN

- Set if result of the addition is a NaN. Cleared otherwise.

UNCC - Always cleared.

IER Flags: Flags changed according to standard definition.

Instruction Fields:

D1

D D

Dn

n n

where nn = 0-3

D2

d d

Dn

n n

where nn = 0-3

S3

s s s

Dn

n n n

where nnn = 0-7

10

0sss

ddQQ

QQDD

31

14 13

0

OPTIONAL EFFECTIVE ADDRESS EXTENSION OR IMMEDIATE LONG DATA

DATA BUS MOVE FIELD

Instruction Format:

FMPY S1,S2,D1 FADDSUB.X D3,D2 (move syntax - see the MOVE instruction
description.)

FMPY S2,S1,D1 FADDSUB.X D3,D2 (move syntax - see the MOVE instruction
description.)

S1*S2

Q QQ Q

D0*D4

0 0 0 0

D4*D4

0 0 0 1

D4*D5

0 0 1 0

D4*D6

0 0 1 1

D5*D6

0 1 0 0

D4*D7

0 1 0 1

D5*D7

0 1 1 0

D6*D7

0 1 1 1

D4*D8

1 0 0 0

D5*D8

1 0 0 1

D6*D8

1 0 1 0

D7*D8

1 0 1 1

D4*D9

1 1 0 0

D5*D9

1 1 0 1

D6*D9

1 1 1 0

D7*D9

1 1 1 1

Timing: 2 + mv + da oscillator clock cycles
Memory: 1 + mv program words