Motorola DSP96002 User Manual page 764

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 D-10b. Automatic Format Conversion – Double Precision
remaining 3 bits of the destination's exponent are set if the number is an 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, the above process is reversed, as
shown in Figure 10-a. The 23 most significant bits of the fraction are moved to the 23 fraction bits of the
destination. 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 before
moving them to memory as single precision numbers.
When moving DP numbers from memory, the 52 bit fraction of the source is moved to the 52 bit fraction of
the destination, and the implicit integer bit is made explicit. If the number is denormalized, the V tag is set.
Again, extra cycles may be required when a denormalized number is used as an operand, depending on
the FZ bit in the SR. The 11-bit exponent of the source is copied to the 11-bit exponent of the destination.
When moving DP numbers from the data ALU to memory, the above process is reversed, as shown in Fig-
D-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