Digital Electronics - Digital Arithmetic Operations and Circuits - Discussion

Discussion Forum : Digital Arithmetic Operations and Circuits - General Questions (Q.No. 19)
19.
Convert each of the following signed binary numbers (two's-complement) to a signed decimal number.
00000101        11111100        11111000
–5    +4    +8
+5    –4    –8
–5    +252    +248
+5    –252    –248
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
2 comments Page 1 of 1.

Chinnu said:   7 years ago
2s complement can be taken only for signed negative numbers.
So,
00000101 is +5.
11111100 is signed negative number so convert into 2s complement it gives -4.
11111000 is also a negative number so convert into 2s complement it gives -8.

Kumpal007 said:   1 decade ago
00000101 positive msb (0) so +5.

Rest two binary numbers are negative because msb is high. So take 2's complement and convert in decimal with negative sign.
(1)

Post your comments here:

Your comments will be displayed after verification.