Booths_Multiplication Algorithm (1)
Booths_Multiplication Algorithm (1)
ALGORITHM
Multiplication of Unsigned Numbers
• It reduces the number It operates on the fact that strings of 0’s in the multiplier
require no addition but just shifting and a string of 1’s in the multiplier from bit
weight 2^k to weight 2^m can be treated as 2^(k+1 ) to 2^m.
1.The multiplicand is subtracted from the partial product upon encountering the first
least significant 1 in a string of 1’s in the multiplier
2.The multiplicand is added to the partial product upon encountering the first 0
(provided that there was a previous ‘1’) in a string of 0’s in the multiplier.
3.The partial product does not change when the multiplier bit is identical to the
previous multiplier bit.
Hardware Implementation of Booth Algorithm
Solution-
First represent − 9 and − 13 in 2’s complement form.
Initially
Multiplicand ,M = − 9 (10111)
Multiplier ,Q = −13 (10011)
A = 00000
SC = 5 (no of bits in multiplier Q)
The product should be (− 9) X (− 13) = +117
+117= 000 1110101
Multiplicand, M = − 9 (10111)
Multiplier, Q = −13 (10011)
Steps M=10111 A Q Qn+1 SC
+1=01000+1=01001
1st 4
A.R.S (arithmetic right shift) 00100 11001 1
0
A.R.S 00011 10101 1
EXAMPLE-3
• Find +7 X − 3 by Booth multiplication algorithm, using 4 bits register ?
Solution-
First represent +7 and − 3 in 2’s complement form.
Initially
Multiplicand ,M = +7 (0111)
Multiplier ,Q = −3 (1101)
A = 0000
SC = 4 (no of bits in multiplier Q)
The product should be (+7) X (− 3) = − 21
− 21= 1110 1011