Computer Science for IGCSE & O level - Data Representation (Section 13 - No. 15)
Convert -12 to an 8-bit two's complement binary number.
11110100
00001100
10001100
11110011
Explanation
First, convert 12 to binary (00001100), invert the bits (11110011), and add 1 (11110100).
Comments (0)
