beautypg.com

Motorola DSP96002 User Manual

Page 191

background image

MOTOROLA

DSP96002 USER’S MANUAL

A - 3

by Address Generation Unit operation when executing MOVETA instructions. Cleared

otherwise. The V bit is cleared during processor reset.

Z(Zero)

Set if the result equals zero. The Z bit is also set for floating-point -zero as well as +zero.

The zero bit is also modified by Address Generation Unit operation when executing

MOVETA instructions. Cleared otherwise. The Z bit is cleared during processor reset.

N(Negative)

Set if the MSB of the result is set for integer operations or if the sign bit of the result is

set for floating-point operations. The negative bit is also modified by Address Genera-

tion Unit operation when executing MOVETA instructions. Cleared otherwise. The N

bit is cleared during processor reset.

I(Infinity)

Set if the result of a floating-point operation is a signed infinity. Cleared otherwise. The

I bit is not affected by fixed point operations but is affected by some conversion instruc-

tions. For example, if D is infinity, then executing FABS.S D will set the I bit. The I bit is

cleared during processor reset.

LR(Local Reject) The LR bit is only affected by the compare instructions CMP, CMPG, FCMP and FC-

MPG. The LR bit is cleared during processor reset. See the example for the FCMPG

instruction for additional information.

R(Reject)

The

R bit is only affected by the compare instructions CMP, CMPG, FCMP and FC-

MPG. The

R bit is calculated based on its previous value and the results of the current

Modifier
MMMMMM M M

Address Calculation Arithmetic

0 0 0 0 0 0 0 0

Reverse Carry

(Bit Reversed Update)

0 0 0 0 0 0 0 1

Modulo 2

0 0 0 0 0 0 0 2

Modulo 3

.

.

.

.

.

.

.

.

.

0 0 F F F F F E

Modulo 16,777,215

((2**24)-1)

0 0 F F F F F F

Modulo 16,777,216

(2**24)

0 1 x x x x x

x

reserved

0 2 x x x x x

x

reserved

.

.

.

.

.

.

.

.

.

F D x x x x x

x

reserved

F E x x x x x

x

reserved

F F 0 0 0 0 0 0

reserved

F F 0 0 0 0 0 1

Multiple Wrap-Around Modulo 2

F F 0 0 0 0 0 3

Multiple Wrap-Around Modulo 4

F F 0 0 0 0 0 7

Multiple Wrap-Around Modulo 8

F F 3 F F F F F

Multiple Wrap-Around Modulo 2**22

F F 7 F F F F F

Multiple Wrap-Around Modulo 2**23

F F F F F F F F

Linear (Modulo 2**32)

where MMMMMMMM = Modifier Register Contents in Hex

Figure A-2. Address Modifier Summary