In: Computer Science
Use Booth’s algorithm to multiply -5 and 7.
Solution:
Given,
=>First number = -5
=>Second number = 7
Explanation:
Performing multiplication using Booth's algorithm:
=>First we need to convert each decimal number into 2's complement binary numbers.
=>Using record multiplier and shift/add operation final result is obtained.
I have explained each and every part with the help of statements as well as image attached to it.