Logical Not
turns True
values to False
, and vice versa.
NOT
is usually
denoted by the symbol ¬
.
The value \( \neg x \) is True
if \( x \) is
False
and it is
False
if \( x \) is True
.
Its table is simple.
¬| ---+---- 0| 1 1| 0
NOT
applied to a byte is applied bit by bit.
Here is the logical negation of a byte.
¬ 01100100 ------------ 10011011