The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+12 votes
1.4k 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
asked in Digital Logic by Veteran (69k points) | 1.4k views

2 Answers

+18 votes
Best answer
A = 1111 1010 = -6
B = 0000 1010 = 10
A*B = -60
=1100 0100
answered by Veteran (53.6k points)
selected by
+3 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

answered by Boss (8.4k points)


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

33,646 questions
40,193 answers
114,178 comments
38,664 users