search
Log In
16 votes
5.8k views

Let $A = 1111 1010$ and $B = 0000 1010$ be two $8-bit$ $2’s$ complement numbers. Their product in $2’s$ complement is

  1. $1100 0100$
  2. $1001 1100$
  3. $1010 0101$
  4. $1101 0101$
in Digital Logic
edited by
5.8k views

4 Answers

26 votes
 
Best answer
$A = 1111\quad 1010 = -6$
$B = 0000\quad 1010 = 10$
$A\times B = -60 =1100\quad 0100$

Correct Answer: $A$

edited by
0
how 11111010 is -6
2

In A we can reject 1111 because single sign bit is sufficient.

And we know 2's complement is weighted code.

So 1010 = -23 *1 + 22 *0 + 21*1 + 20 * 0 = -6.

Here MSB is sign bit and 1 represents -ve.

1
Can you please tell how -60 =1100 0100
2

60 is represented as 111100. Make it 8 bits by adding 2 leading zeroes 00111100. As negative numbers are represented in 2’s complement, therefore Its 2's complement will be 1100 0100.

9 votes

Explanation: Here, we have

A = 1111 1010 =  – 610 (A is a 2’s complement number)

B = 0000 1010 =  1010 (B is a 2’s complement number)

A x B = – 6010 = 1 011 11002 = 1 100 0011 (1’s complement) = 1 100 0100 (2’s complement)

Thus, the product of A and B in 2’s complement is 1100 0100, which is option A.

So, A is the correct option

0
for this question wht I did first,simply multiply both numbers and the result which I got  000100111000100

after taking 2's complement of this -2500    came.plz someone verify this.

I long it is taking long time but I want to know my mistake [email protected] @debashish
3 votes

In 2's complement form 

A = 11111010 = -128+64+32+16+8+2 = -6

B = 00001010 = 10

Now A* B = -60

-60 = -128+64+4 =11000100

Option : A

 

0
This seems somewhat understood able.
0
Does that 1 at the MSB means a negative sign?
2 votes

 A=11111010(in 2's compliment)

Convert into decimal then A= -6

There are sequence of 1's in left side delete all consecutive 1's except last one i.e;(delete four 1's from starting) This is shortcut of finding a decimal number from 2's compliment form

11111010=1010 and (1010= -8+2= -6)

B=00001010(in 2's compliment)

Convert into decimal then B=(10 ) in decimal

(00001010)= 8+2 = 10 in decimal

A×B= (-6)×10= (-60)

How to represent (-60) in 2's compliment form?

First write +60 in binary (using 8 bit because here all options are in 8 bits)

+60 in binary=00111100

Now take 2's compliment of (00111100)=11000100=(-60) in decimal

Hence option A is right.


edited by
Answer:

Related questions

13 votes
1 answer
1
2.4k views
If $73_x$ (in base-x number system) is equal to $54_y$ (in base $y$-number system), the possible values of $x$ and $y$ are $8, 16$ $10, 12$ $9, 13$ $8, 11$
asked Sep 19, 2014 in Digital Logic Kathleen 2.4k views
33 votes
5 answers
2
7.1k views
What is the result of evaluating the following two expressions using three-digit floating point arithmetic with rounding? $(113. + -111.) + 7.51$ $113. + (-111. + 7.51)$ $9.51$ and $10.0$ respectively $10.0$ and $9.51$ respectively $9.51$ and $9.51$ respectively $10.0$ and $10.0$ respectively
asked Sep 19, 2014 in Digital Logic Kathleen 7.1k views
35 votes
8 answers
3
8.6k views
In an $SR$ latch made by cross-coupling two NAND gates, if both $S$ and $R$ inputs are set to $0$, then it will result in $Q = 0, Q' = 1$ $Q = 1, Q' = 0$ $Q = 1, Q' = 1$ Indeterminate states
asked Sep 19, 2014 in Digital Logic Kathleen 8.6k views
22 votes
5 answers
4
2.5k views
A Boolean function $x’y’ + xy + x’y$ is equivalent to $x' + y'$ $x + y$ $x + y'$ $x' + y$
asked Sep 19, 2014 in Digital Logic Kathleen 2.5k views
...