PPT Slide
4 – Combinational Logic Design Examples
If N is a positive number, then the negative of N ( its 2s complement or N* ) isN* = 2n – N
- example: 2s complement of 7
- example: 2s complement of –7
- shortcut: 2s complement = bit-wise complement + 1
- 0111 -> 1000 + 1 -> 1001 (representation of -7)
- 1001 -> 0110 + 1 -> 0111 (representation of 7)