Digital Electronics - Digital Arithmetic Operations and Circuits - Discussion

Discussion Forum : Digital Arithmetic Operations and Circuits - General Questions (Q.No. 42)
42.
Convert each of the signed decimal numbers to an 8-bit signed binary number (two's-complement).
+7        –3        –12
0000  0111    1111  1101    1111  0100
1000  0111    0111  1101    0111  0100
0000  0111    0000  0011    0000  1100
0000  0111    1000  0011    1000  1100
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
1 comments Page 1 of 1.

Shruthi said:   1 decade ago
+7 => 00000111.

-3=>for -ve sign the 1st four digit should be 1111 and the 3 becomes 0011 in binary. Take 2's complement of 3. We will get 1101.
i.e 3=>0011.

1's complement => 1100.

2's complement => 1101.

Post your comments here:

Your comments will be displayed after verification.