Texas Instruments TMS320C2XX User Manual

Page 52

Advertising
background image

Multiplication Section

3-7

Central Processing Unit

Table 3–1. Product Shift Modes for the Product-Scaling Shifter

ББ

ББ

PM

ББББ

ББББ

Shift

БББББББББББББББББББ

БББББББББББББББББББ

Comments

ББ

ББ

00

ББББ

ББББ

no shift

БББББББББББББББББББ

БББББББББББББББББББ

Product sent to CALU or data write bus (DWEB) with no shift

ББ

ББ

ББ

01

ББББ

Б

ББ

Б

ББББ

left 1

БББББББББББББББББББ

Б

БББББББББББББББББ

Б

БББББББББББББББББББ

Removes the extra sign bit generated in a 2s-complement multiply
to produce a Q31 product

ББ

ББ

ББ

ББ

10

ББББ

Б

ББ

Б

Б

ББ

Б

ББББ

left 4

БББББББББББББББББББ

Б

БББББББББББББББББ

Б

Б

БББББББББББББББББ

Б

БББББББББББББББББББ

Removes the extra four sign bits generated in a 16-bit

×

13-bit 2s-

complement multiply to produce a Q31 product

when multiplying

by a 13-bit constant

ББ

ББ

ББ

ББ

11

ББББ

Б

ББ

Б

Б

ББ

Б

ББББ

right 6

БББББББББББББББББББ

Б

БББББББББББББББББ

Б

Б

БББББББББББББББББ

Б

БББББББББББББББББББ

Scales the product to allow up to 128 product accumulations with-
out overflowing the accumulator. The right shift is always sign ex-
tended, regardless of the value of the sign-extension mode bit
(SXM) of status register ST1.

БББББББББББББББББББББББ

Б

БББББББББББББББББББББ

Б

БББББББББББББББББББББББ

† A Q31 number is a binary fraction in which there are 31 digits to the right of the binary point

(the base 2 equivalent of the base 10 decimal point).

Advertising