Motorola DSP96002 User Manual page 735

32-bit digital signal processor
Table of Contents

Advertisement

63 62
S
95 94
75 74
S
63 62
S
* – Bits 11-31 (in Dn) or 0-20
(in L memory) are zero when
the register contains an SEP
result.
Figure C-10b. Automatic Format Conversion – Double Precision
mode, the number is "corrected" when used as an operand for floating point calculations, at the expense of
extra cycles introduced for normalization.
The 8-bit exponent of the SP source is translated into an 11-bit exponent by copying the 7 least significant
bits of the source exponent into the seven least significant bits of the destination. The most significant bit of
the 8-bit exponent of the source is copied to the most significant bit of the exponent of the destination. The
remaining 3 bits of the destination's exponent are set if the number is a NaN or infinity, otherwise they are
the inverted MSB of the source's exponent. Inverting the MSB effectively changes the bias from 127 to
1023.
When moving single precision numbers from the data ALU to memory (see Figure C-10a), the above pro-
cess is reversed. The 23 most significant bits of the fraction are moved to the 23 fraction bits of the desti-
nation. Note that the contents of the data ALU register may have more than 23 fractional bits if it was the
result of a previous DP move or SEP arithmetic operation; in this case, the fraction is simply truncated.
The MSB of the 11-bit exponent of the source in the data ALU is moved to the MSB of the exponent of the
destination. The 7 LSBs of the exponent of the source are copied to the seven LSBs of the exponent of the
source. Note that if the source was not a SP number (result of a DP move or a SEP arithmetic operation),
an incorrect exponent may be moved. Therefore, care must be taken to always round results to SP be-
fore moving them to memory as single precision numbers.
When moving DP numbers into the Data ALU from memory (see Figure C-10b), the 52 bit fraction of the
C-12
52 51
e
Fraction
64
63 62
e
Fraction
i
i = 1 when normalized
i = 0 when unnormalized
52 51
e
Fraction
DSP96002 USER'S MANUAL
21 20
0
32 31
21 22
0
L Data Memory
11 10
0
0
*
L Data Memory
MOTOROLA
Dn

Advertisement

Table of Contents
loading

Table of Contents