The following two signed 2's complement numbers (multiplicand M and multiplier Q) are being multiplied using Booth's algorithm:
M : 1100 1101 1110 1101 and Q: 1010 0100 1010 1010
The total number of addition and subtraction operations to be performed is ______.
Correct Answer :
Solution :
The correct answer is 13.
Step-by-Step Explanation:
In Booth's multiplication algorithm, the total number of addition and subtraction operations is determined by scanning the multiplier, Q, from right to left (from the least significant bit to the most significant bit) and analyzing adjacent bit pairs. We also append an implicit 0 to the right of the least significant bit, which we denote as:
For each step from 0 to (where is the bit-width of the multiplier, which is 16 in this case), we examine the bit pair and decide on the operation according to the following rules:
1. If the pair is 01, we perform an addition operation.
2. If the pair is 10, we perform a subtraction operation.
3. If the pair is 00 or 11, no arithmetic operation is performed (only shifting occurs).
Given the multiplier Q = 1010 0100 1010 1010, the bits are index-mapped as follows:
Now, let us examine the pairs sequentially and track the count of arithmetic operations:
- For : pair ⇒ No operation.
- For : pair ⇒ Subtraction (Operation 1)
- For : pair ⇒ Addition (Operation 2)
- For : pair ⇒ Subtraction (Operation 3)
- For : pair ⇒ Addition (Operation 4)
- For : pair ⇒ Subtraction (Operation 5)
- For : pair ⇒ Addition (Operation 6)
- For : pair ⇒ Subtraction (Operation 7)
- For : pair ⇒ Addition (Operation 8)
- For : pair ⇒ No operation.
- For : pair ⇒ Subtraction (Operation 9)
- For : pair ⇒ Addition (Operation 10)
- For : pair ⇒ No operation.
- For : pair ⇒ Subtraction (Operation 11)
- For : pair ⇒ Addition (Operation 12)
- For : pair ⇒ Subtraction (Operation 13)
Summing up all the arithmetic operations, we perform 6 addition operations and 7 subtraction operations, yielding a total of 13 operations.
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Mindyard. Perfect for teachers and institutes.
Copyright © 2026 Mindyard. All Rights Reserved.