Sign and magnitude
4 – Combinational Logic Design Examples
One bit dedicate to sign (positive or negative)
- sign: 0 = positive (or zero), 1 = negative
Rest represent the absolute value or magnitude
- three low order bits: 0 (000) thru 7 (111)
Range for n bits
- +/– 2n–1 –1 (two representations for 0)
Cumbersome addition/subtraction
- must compare magnitudesto determine sign of result