Integer Representations
Most significant bit is sign bit, remaining bits represent magnitude in some manner
Sign-magnitude representation:
One’s complement representation:
Two’s complement representation:
210 0 010
-210 1 010
010 0 000
-010 1 000
210 0 010
-210 1 101
010 0 000
-010 1 111
210 0 010
-210 1 110
010 0 000
-010 0 000
Previous slide
Next slide
Back to first slide
View graphic version