Bitwise NOT of 1011 0110 — NOT gate
exam standardone's complement of a byte
Answer
01001001
Why this example is worth doing
Inverting all eight bits gives the one's complement, which is not the same as negating the number — two's complement additionally adds 1, and the difference is exactly the reason for the asymmetric signed range. The page states the relationship −x = x̄ + 1 and links to the two's complement tool, where the same byte is worked through both ways. It is the clearest bridge on the site between gate logic and number representation.
Try your own input in the NOT gate. Truth table, symbol and algebraic form for the inverter, Ā.
How the answer is reached
Column by column
A10110110
result01001001
| bit | A | result |
|---|---|---|
| 7 | 1 | 0 |
| 6 | 0 | 1 |
| 5 | 1 | 0 |
| 4 | 1 | 0 |
| 3 | 0 | 1 |
| 2 | 1 | 0 |
| 1 | 1 | 0 |
| 0 | 0 | 1 |