Computer Science for IGCSE & O level - Data Representation (Section 3 - No. 49)

In an 8-bit system, if you have the two's complement representation of -5, what is the process to find +5?
Invert the bits and add 1.
Invert the bits.
Subtract 1 and invert the bits.
Shift the bits right.

Explanation

To find the positive equivalent, invert the bits of -5 and add 1.

Comments (0)

Advertisement