Using Booth’s algorithm with the multiplier 00111100, how many add or subtract operations on the multiplicand are performed?

Correct answer A. 2

Explanation

Booth's algorithm only acts at the edges of runs of 1s. Scanning from the LSB with an implied 0 on the right, the pair 10 at the start of the run triggers a subtraction and the pair 01 at its end triggers an addition; pairs 00 and 11 just shift. The single run 1111 therefore costs 2 operations, whereas plain shift-and-add would need 4 additions, one per 1 bit.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.