Analog Devices adsp-2100 Manual page 35

Adsp-2100 family programmable single-chip microprocessors
Table of Contents

Advertisement

divisor MSB and the ALU output MSB, and the quotient bit is this value
inverted. The quotient bit is loaded into the LSB of the AY0 register which is
also shifted left by one bit. The DIVQ operation is illustrated in Figure 2.4.
AX0
MUX
DIVISOR
R-BUS
Figure 2.4 DIVQ Operation
The format of the quotient for any numeric representation can be
determined by the format of the dividend and divisor. Let NL represent
the number of bits to the left of the binary point, and NR represent the
number of bits to the right of the binary point of the dividend; DL
represent the number of bits to the left of the binary point, and DR
represent the number of bits to the right of the binary point of the divisor;
then the quotient has NL–DL+1 bits to the left of the binary point and NR–
DR–1 bits to the right of the binary point.
Computational Units
AF
AX1
PARTIAL
REMAINDER
16
MSB
X
Y
ALU
R=Y+X IF AQ=1
R=Y-X IF AQ=0
1 MSB
15 LSBs
15
LEFT SHIFT
L
AY0
S
B
LOWER
DIVIDEND
AQ
2
2 – 11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents