Computer Science for IGCSE & O level - Data Representation (Section 5 - No. 25)

In an 8-bit system, what operation is needed to convert the two's complement representation of a negative number to its positive value?
Invert the bits.
Invert the bits and add 1.
Add 1
Subtract 1.

Explanation

Inverting the bits and adding 1 is required for converting the negative value to positive value, or vise versa.

Comments (0)

Advertisement