Dr.K.R.Jothi
Associate Professor
SCOPE
Booth’s Algorithm Start
A=A-M 00 A=A+M
11
Arithmetic Shift Right A Q q0
n = n -1
No
Is n = 0 ?
Yes
Result in AQ
Stop
Booth’s Algorithm Start
A=A-M 00 A=A+M
11
Arithmetic Shift Right A Q q0
n = n -1
No
Is n = 0 ?
Yes
Result in AQ
Stop
Booth’s Algorithm Start
n = n -1
No
Is n = 0 ?
Yes
Result in AQ
Stop
Booth’s Algorithm Start
n = n -1
No
Is n = 0 ?
Yes
Result in AQ
Stop
Booth’s Algorithm Start
No
Is n = 0 ?
Yes
Result in AQ
Stop
Booth’s Algorithm Start
2 n = n -1
n = n -1
0 0 1 1 0 0 0 0 1 A=A+M 1101
+0110 (M)
0011 No
Is n = 0 ?
Yes
Result in AQ
Stop
Booth’s Algorithm Start
2 n = n -1
n = n -1
0 0 1 1 0 0 0 0 1 A=A+M 1101
+0110 (M)
0 0 0 1 1 0 0 0 0 Arithmetic Right Shift 0011 No
1 n=n-1 Is n = 0 ?
Yes
Result in AQ
Stop
Booth’s Algorithm Start
2 n = n -1
n = n -1
0 0 1 1 0 0 0 0 1 A=A+M 1101
+0110 (M)
0 0 0 1 1 0 0 0 0 Arithmetic Right Shift 0011 No
Is n = 0 ?
1 n=n-1
0 0 0 0 1 1 0 0 0 Arithmetic Right Shift
Yes
0 n=n-1 Result in AQ
Stop
Booth’s Algorithm Start
2 n = n -1
n = n -1
0 0 1 1 0 0 0 0 1 A=A+M 1101
+0110 (M)
0 0 0 1 1 0 0 0 0 Arithmetic Right Shift 0011 No
Is n = 0 ?
1 n=n-1
0 0 0 0 1 1 0 0 0 Arithmetic Right Shift
Yes
0 n=n-1
Result in AQ
2 n = n -1
n = n -1
0 0 1 1 0 0 0 0 1 A=A+M 1101
+0110 (M)
0 0 0 1 1 0 0 0 0 Arithmetic Right Shift 0011 No
Is n = 0 ?
1 n=n-1
0 0 0 0 1 1 0 0 0 Arithmetic Right Shift
Yes
0 n=n-1
Result in AQ
10 01
Tracing Table q1 q0 ?
n A Q q0 Action / Comment
qn…q1 A=A-M 00 A=A+M
4 0000 0011 0 Initialization 11
0111 0011 0 A=A-M Arithmetic Shift Right A Q q0
3 0011 1001 1 Arithmetic Right Shift
n = n -1
2 0001 1100 1 Arithmetic Right Shift
1010 1100 1 A=A+M No
Is n = 0 ?
1 1101 0110 0 Arithmetic Right Shift
Yes
0 1110 1011 0 Arithmetic Right Shift Result in AQ
Multiplier
V ersion of multiplicand
selected by bit i
Bit i Bit i -1
0 0 0 X M
0 1 + 1 X M
1 0 1 X M
1 1 0 X M
0 0 1 0 1 1 0 0 1 1 1 0 1 0 1 1 0 0 0
0 + 1 - 1 + 1 0 - 1 0 + 1 0 0 - 1 + 1 - 1 + 1 0 - 1 0 0
0 1 1 0 1 (+13) 0 1 1 0 1
0 1 0 1 1 x (+11) +1 -1 +1 0 -1
1 1 1 1 1 1 0 0 1 1
2’s-complement of +13 0 0 0 0 0 0 0 0 0
1 0 0 1 1 0 0 0 0 1 1 0 1
1 1 1 0 0 1 1
0 0 1 1 0 1
1 0 0 0 1 0 0 0 1 1 1 1 (+ 143)
Booth Algorithm
Considering the product (-13)(+11) then use the 2’s-complement of the multiplier
1 0 0 1 1 (-13 ) 1 0 0 1 1
0 1 0 1 1 x (+11) +1 -1 +1 0 -1
0 0 0 0 0 0 1 1 0 1
2’s-complement of -13 0 0 0 0 0 0 0 0 0
0 1 1 0 1 1 1 1 1 0 0 1 1
0 0 0 1 1 0 1
1 1 0 0 1 1
1 1 1 0 1 1 1 0 0 0 1 (- 143)
Booth Algorithm
Considering the product (+13)(-11) then use the 2’s-complement of the
multiplier
0 1 1 0 1 (+13 ) 0 1 1 0 1
1 0 1 0 1 x (-11) -1 +1 -1 +1 -1
1 1 1 1 1 1 0 0 1 1
2’s-complement of +13 0 0 0 0 0 1 1 0 1
1 0 0 1 1 1 1 1 1 0 0 1 1
0 0 0 1 1 0 1
1 1 0 0 1 1
1 0 1 1 0 1 1 1 0 0 0 1 (- 143)
Booth Algorithm
Considering the product (-13)(-11) then use the 2’s-complement of the multiplier
1 0 0 1 1 (-13 ) 1 0 0 1 1
1 0 1 0 1 x (-11) -1 +1 -1 +1 -1
0 0 0 0 0 0 1 1 0 1
2’s-complement of -13 1 1 1 1 1 0 0 1 1
0 1 1 0 1 0 0 0 0 1 1 0 1
1 1 1 0 0 1 1
0 0 1 1 0 1
1 0 0 0 1 0 0 0 1 1 1 1 ( 143)