17 - Booth Multiplication
17 - Booth Multiplication
Algorithm
Contents
Introduction
Algorithm(Flowchart)
Rules
Example
Conclusion
Introduction
Booth’s algorithm gives a procedure for multiplying
binary integers in signed 2’s complement representation
in efficient way.
Less number of additions/subtractions required.
Requires examination of the multiplier bits and shifting
of the partial product.
Rules
Prior to the shifting, the multiplicand may be added to
the partial product, subtracted from the partial product,
or left unchanged according to the following rules:
The multiplicand is subtracted from the partial product upon
encountering the first least significant 1 in a string of 1’s in the
multiplier
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.
The partial product does not change when the multiplier bit is
identical to the previous multiplier bit.
Flowchart
Example
Compute −3× −7 using the Booth’s
algorithm.
The 2’s complement representations for
them are 1101 and 1001, respectively.
Initially,
A = 0000
Q = 1001
M = 1101
M’ = 0010
Q−1=0.
The final result will be 21, which will be stored in A and Q.
Example
OPERATION A Q Q-1 Count
0000 1001 0 4
A + M’ + 1 0011 1001 0
A + M’ + 1 0010 1011 1