Motorola DSP56000 Manual page 286

24-bit digital signal processor
Hide thumbs Also See for DSP56000:
Table of Contents

Advertisement

Note that the signed integer portion of an accumulator IS NOT necessarily the same as
the extension register portion of that accumulator. The signed integer portion of an accu-
mulator consists of the MS 8, 9, or 10 bits of that accumulator, depending on the scaling
mode being used. The extension register portion of an accumulator (A2 or B2) is always the
MS 8 bits of that accumulator. The E bit refers to the signed integer portion of an accu-
mulator and NOT the extension register portion of that accumulator. For example, if
the current scaling mode is set for no scaling (i.e., S1=S0=0), the signed integer portion of
the A or B accumulator consists of bits 47 through 55. If the A accumulator contained the
signed 56-bit value $00:800000:000000 as a result of a data ALU operation, the E bit
would be set (E=1) since the 9 MS bits of that accumulator were not all the same (i.e., nei-
ther 00 . . 00 nor 11 . . 11). This means that data limiting will occur if that 56-bit value is
specified as a source operand in a move-type operation. This limiting operation will result in
either a positive or negative, 24-bit or 48-bit saturation constant being stored in the specified
destination. The only situation in which the signed integer portion of an accumulator and
the extension register portion of an accumulator are the same is in the "Scale Down" scaling
mode (i.e., S1=0 and S0=1).
U (Unnormalized Bit)
N (Negative Bit)
Z (Zero Bit)
V (Overflow Bit)
MOTOROLA
CONDITION CODE COMPUTATION
S1
S0
Scaling Mode
0
0
No Scaling
0
1
Scale Down
1
0
Scale Up
Set if the two MS bits of the MSP portion of the A or B result are the
same. Cleared otherwise. The MSP portion is defined by the scal-
ing mode. The U bit is computed as follows:
S1
S0
Scaling Mode
0
0
No Scaling
0
1
Scale Down
1
0
Scale Up
Set if the MS bit 55 of the A or B result is set. Cleared otherwise.
Set if the A or B result equals zero. Cleared otherwise.
Set if an arithmetic overflow occurs in the 56-bit A or B result. This
indicates that the result cannot be represented in the 56-bit accu-
mulator; thus, the accumulator has overflowed. Cleared otherwise.
INSTRUCTION SET DETAILS
Signed Integer Portion
Bits 55, 54, . . . . 48, 47
Bits 55, 54, . . . . 49, 48
Bits 55, 54, . . . . 47, 46
U Bit Computation
U=(Bit 47
Bit 46)
U=(Bit 48
Bit 47)
U=(Bit 46
Bit 45)
A - 17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsp56k

Table of Contents