Range Number Systems
System | Range | N=8 |
---|---|---|
Unsigned | [0,2N-1] | [0,255] |
Sign/Magnitude & Ones' Complement | [-(2N-1-1),2N-1-1] | [-127,127] |
Two's Complement | [-2N-1,2N-1-1] | [-128,127] |
Sign/Magnitude and ones' complement have two zeros. There is a weird number (100..0002) in two's complement.
Harris D. M., Harris S. L. - Digital Design and Computer Architecture, 2nd Edition - 2012
1.4.6 Signed Binary Numbers - 19 page