Digital Electronics - Digital Arithmetic Operations and Circuits - Discussion

Discussion Forum : Digital Arithmetic Operations and Circuits - General Questions (Q.No. 10)
10.
The 2's-complement system is to be used to add the signed binary numbers 11110010 and 11110011. Determine, in decimal, the sign and value of each number and their sum.
–113 and –114, –227
–14 and –13, –27
–11 and –16, –27
–27 and –13, –40
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
6 comments Page 1 of 1.

Tanu Bhardwaj said:   1 decade ago
When we complement 11110010 for 1's complement, we get 00001101. Then add 1 in 1's complement to get 2's complement.

00001101+1 =00001110.

The decimal of 00001110 is 14. And the sign of the number is "-" because in 11110010, the starting number is "1". So, the number is -14.

Similarly the 2's complement of 2nd number is 00001101, and we get 13 as decimal value. The sign of the number is again negative as we can see "1" as MSB, so the number in decimal is -13.

When we add the 2's complement of both numbers, we get 27 as total decimal value and the sign is negative, because both the numbers were negative.
(3)

Meena said:   9 years ago
Thanks, @Tanu.

Manoja v. said:   8 years ago
Thanks @Tanu.

Sainarendra said:   7 years ago
Thanks for your detailed explanation @Tanu.

Anushka Shivalli said:   6 years ago
Nice explanation, Thank you @Tanu.

Nikh said:   4 years ago
Thanks for explaining this clearly @Tanu.

Post your comments here:

Your comments will be displayed after verification.