1s complement
4 – Combinational Logic Design Examples
If N is a positive number, then the negative of N ( its 1s complement or N' ) isN' = (2n– 1) – N
- example: 1s complement of 7
- shortcut: simply compute bit-wise complement ( 0111 -> 1000 )
1000 = –7 in 1s complement form