0% found this document useful (0 votes)
65 views15 pages

Opps Important Questions

The document discusses the Booth algorithm for signed multiplication. It explains that the Booth algorithm provides an efficient procedure for multiplying binary integers in signed 2's complement representation by reducing the number of additions/subtractions required compared to a straightforward method. It describes how the Booth algorithm works by regarding the multiplier as the difference between two numbers. It also explains the Booth recoding table that is used to select the appropriately shifted version of the multiplicand based on the current and previous bits of the multiplier during scanning.

Uploaded by

Darshan .B
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views15 pages

Opps Important Questions

The document discusses the Booth algorithm for signed multiplication. It explains that the Booth algorithm provides an efficient procedure for multiplying binary integers in signed 2's complement representation by reducing the number of additions/subtractions required compared to a straightforward method. It describes how the Booth algorithm works by regarding the multiplier as the difference between two numbers. It also explains the Booth recoding table that is used to select the appropriately shifted version of the multiplicand based on the current and previous bits of the multiplier during scanning.

Uploaded by

Darshan .B
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 15

Sindhu K, BMSCE 1

Sindhu K, BMSCE 2
Signed Multiplication

1 0 0 1 1  - 13
0 1 0 1 1 ( + 11)

1 1 1 1 1 1 0 0 1 1

1 1 1 1 1 0 0 1 1
Sign extension is
shown in blue 0 0 0 0 0 0 0 0

1 1 1 0 0 1 1

0 0 0 0 0 0

1 1 0 1 1 1 0 0 0 1  - 143

Sign Sindhu
extension of negative multiplicand.
K, BMSCE 3
Signed Multiplication
A technique that works equally well for both negative
and positive multipliers – Booth algorithm.
Booth algorithm gives a procedure for multiplying
binary integers in signed 2’s complement
representation in efficient way, i.e., less number of
additions/subtractions required. 
For a negative multiplier, a straightforward solution is
to form the 2’s-complement of both the multiplier and
the multiplicand and proceed as in the case of a
positive multiplier.

Sindhu K, BMSCE 4
Booth

Algorithm
Consider in a multiplication, the multiplier is positive
0011110, how many appropriately shifted versions of
the multiplicand are added in a standard procedure?

0 1 0 1 1 0 1
0 0 +1 +1 + 1+1 0
0 0 0 0 0 0 0
0 1 0 1 1 0 1
0 1 0 1 1 0 1
0 1 0 1 1 0 1
0 1 0 1 1 0 1
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 1 0 1 0 1 0 0 0 1 1 0

Sindhu K, BMSCE 5
Booth Algorithm
 We can reduce the number of required operations by regarding the
multiplier as difference between two number i.e. 30 = 32 – 2.
 Since 0011110 (30) = 0100000(32) – 0000010(2).

0 1 0 1 1 0 1
0 +1 0 0 0 - 1 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0
2's complement of
1 1 1 1 1 1 1 0 1 0 0 1 1
the multiplicand
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 1 0 1 1 0 1
0 0 0 0 0 0 0 0
0 0 0 1 0 1 0 1 0 0 0 1 1 0

Sindhu K, BMSCE 6
Booth

Algorithm
In general, in the Booth scheme, -1 times the shifted multiplicand is
selected when moving from 0 to 1, and +1 times the shifted
multiplicand is selected when moving from 1 to 0, as the multiplier
is scanned from right to left.
0 0 1 0 1 1 0 0 1 1 1 0 1 0 1 1 0 0

0 +1 -1 +1 0 - 1 0 +1 0 0 - 1 +1 - 1 + 1 0 - 1 0 0

Booth recoding of a multiplier.

Sindhu K, BMSCE 7
Booth Algorithm
0 1 1 0 1 ( + 13) 0 1 1 0 1
X1 1 0 1 0 - 6 0 - 1 +1 - 1 0
0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 0 0 1 1
0 0 0 0 1 1 0 1
1 1 1 0 0 1 1
0 0 0 0 0 0
1 1 1 0 1 1 0 0 1 0  - 78

Booth multiplication with a negative multiplier.

Sindhu K, BMSCE 8
Booth Algorithm
Multiplier
V ersion of multiplicand
selected by biti
Bit i Bit i -1

0 0 0 XM
0 1 + 1 XM
1 0  1 XM
1 1 0 XM

Booth multiplier recoding table.


Sindhu K, BMSCE 9
Booth Algorithm
 Best case – a long string of 1’s (skipping over 1s)
 Worst case – 0’s and 1’s are alternating
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
Worst-case
multiplier
+1 - 1 +1 - 1 +1 - 1 +1 - 1 +1 - 1 +1 - 1 +1 - 1 +1 - 1

1 1 0 0 0 1 0 1 1 0 1 1 1 1 0 0
Ordinary
multiplier
0 -1 0 0 + 1 - 1 +1 0 - 1 +1 0 0 0 -1 0 0

0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1
Good
multiplier
0 K,
Sindhu 0 BMSCE
0 +1 0 0 0 0 -1 0 0 0 +1 0 0 -1 10
Booth Algorithm
Handles both positive and negative multipliers
uniformly.
Achieves some efficiency in the number of additions
required when the multiplier has a few large blocks of
1s.

Sindhu K, BMSCE 11
Sindhu K, BMSCE 12
Sindhu K, BMSCE 13
Sindhu K, BMSCE 14
Sindhu K, BMSCE 15

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy