The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+14 votes
1.9k 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 (59.4k points) | 1.9k views

2 Answers

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

35,506 questions
42,827 answers
121,678 comments
42,181 users