45 views

| 45 views
+2

One technique is the one we usually follow by converting the binary number to decimal.

1111010 = -64+32+16+8+2=-6

00001010 = 10

-6*10=-60

This one is different :

Evaluate booth's encoding for both of them..

Eg: -14 = (10010) in 2's complement. It's booth encoding is

-10+1-10.

 24 23 22 21 20 -1 0 +1 -1 0

So, (-1)*24 + (+1)*22 + (-1)*21= -16+4-2 =-16+2 =-14

Similarly for given two numbers:

1111010 : Booth's encoding is 0-1+1-10

 24 23 22 21 20 0 -1 1 -1 0

= -8+4-2= -6

and 00001010 : Booth's encoding is 0+1-1+1-10

 25 24 23 22 21 20 0 +1 -1 +1 -1 0

+16-8+4-2= 20-10=10.

-6*10=-60

Ignore this if you find it time taking..I found this method recently that is why thought of sharing :P

+1
thanx sir first approach is easy and helpful.

Answer will be D that is -60

First number is Negative Number As MSB is 1 .....now for 2's complement method we have weighted Code that is MSB will have negative weight and all other wil have positive ... so equivalent number is

-64+32+16+8+2=-6

Now 2nd number is Positive number as MSB is 0 so equivalent number is

10.

So product will be

-6*10=-60
by Boss (11k points)