Logical OR
has the meaning you would
expect from its name.
OR
is usually
denoted by the symbol ∨
.
\( x \vee y \) is True
if either
The value of
\( x \) or \( y \) is True
.
Its table looks like the addition table,
with just one twist.
∨| 0 1 ---+------- 0| 0 1 1| 1 1
OR
applied to two bytes is applied bit by bit.
Here is the OR
of two bytes.
As with AND
,
we aren't necessarily interested in the numerical values.
01100100 ∨ 00111101 ------------ 01111101