1,259 views
0 votes
0 votes
Use the Booth algorithm to multiply +21 (multiplicand) by -24 (multiplier), where each

number is represented using 6 bits.

 

I tried but I'm getting answers as 000100100111 which converts into 295 but 504 even in -504 form is 1000000111, so I'm not sure where am I going wrong. please answer it

1 Answer

0 votes
0 votes

(+21) = 010101

(-24) = (011000)’ + 1 = 101000

Here we are multiplying 6 bits x 6 bits, so the result will have a total of 12 bits (i.e 6 + 6)

(Reason: the multiplication of m bits x n bits gives a product which has (m+n) bits)

Therefore we extend the sign for each term (making each term 12 bits long),

Since +21 is a positive number, therefore extending 6 more zeros to it will give

(+21) = 000000 010101

and since -24 is a negative number, therefore extending 6 more ones, it will give:

(-24) = 111111 101000

Now, we convert the normal multiplier of (-24) to Booth multiplier and we get,

(-24) = 000000-11-1000

We can ignore the zeros at the beginning of Booth multiplier, so hence,

(-24) = -11-1000

Now we multiply:

000000 010101

x         -11-1000

Result: 100111111000001000

Now, we only need to first 12 bits from the LSB.

So the final answer become: 111000001000

Which is equal to -504

That’s it :)

Related questions

1.2k
views
1 answers
2 votes
92komal asked Dec 20, 2017
1,248 views
Booth's coding in 8-bits for the decimal number -57 is: A 0-100+1000 B 0-100+100-1 C 0-1+100-10+1 D 00-10+100-1 plz explain this question
1.4k
views
0 answers
0 votes
kd..... asked Feb 4, 2019
1,384 views
Why we do right shift in booth algorithm?I know the working of booths algorithm.Suppose we have multiplicand M = 01011and multiplier Q = 01110We can write Q as (2^4 - 2^1...
1.9k
views
1 answers
0 votes
Aravind Adithya 1 asked Dec 25, 2018
1,898 views
Consider the following Booth’s multiplication:Multiplicand: 1011 0111 1111Multiplier: 0101 1100 1001Which of the following represents the number of arithmetic operation...
545
views
0 answers
0 votes
send2aishwarya asked Dec 6, 2018
545 views
Using Booth's Algorithm compute -7x -9