32-Bit Hardware Multiplier Operation
9-10
32-Bit Hardware Multiplier
9.2.4
Fractional Numbers
The 32-bit multiplier provides support for fixed-point signal processing. In
fixed−point signal processing, fractional number are represented by using a
fixed decimal point. To classify different ranges of decimal numbers, a
Q-format is used. Different Q-formats represent different locations of the
decimal point. Figure 9−2 shows the format of a signed Q15 number using 16
bits. Every bit after the decimal point has a resolution of 1/2, the most
significant bit is used as the sign bit. The most negative number is 08000h and
the maximum positive number is 07FFFh. This gives a range from −1.0 to
0.999969482
≅
1.0 for the signed Q15 format with 16 bits.
Figure 9−2. Q15 Format Representation
S
1
2
1
4
1
8
1
16
...
Decimal number equivalent
Decimal point
Sign bit
15 bits
The range can be increased by shifting the decimal point to the right as shown
in Figure 9−3. The signed Q14 format with 16 bits gives a range from −2.0 to
1.999938965
≅
2.0.
Figure 9−3. Q14 Format Representation
S
1
2
1
4
1
8
1
16
...
x
14 bits
The benefit of using 16-bit signed Q15 or 32-bit signed Q31 numbers with
multiplication is that the product of two number in the range from −1.0 to 1.0
is always in that same range.
Summary of Contents for MSP430x4xx Family
Page 1: ...MSP430x4xx Family 2007 Mixed Signal Products User s Guide SLAU056G ...
Page 2: ......
Page 6: ...vi ...
Page 114: ...3 76 RISC 16 Bit CPU ...
Page 304: ...5 20 FLL Clock Module ...
Page 340: ...7 8 Supply Voltage Supervisor ...
Page 348: ...8 8 16 Bit Hardware Multiplier ...
Page 372: ...9 24 32 Bit Hardware Multiplier ...
Page 400: ...10 28 DMA Controller ...
Page 428: ...13 10 Basic Timer1 ...
Page 466: ...15 24 Timer_A ...
Page 522: ...17 30 USART Peripheral Interface UART Mode ...
Page 544: ...18 22 USART Peripheral Interface SPI Mode ...
Page 672: ...23 12 Comparator_A ...
Page 692: ...24 20 LCD Controller ...
Page 746: ...26 28 ADC12 ...