D-Link DES-3326 User Manual - page 396
Manual is about: 24-Port Fast Ethernet Plus 2-Port Gigabit Module Layer 3 Switch
of
404
DES-3326 Layer 3 Fast Ethernet Switch User’s Guide
382
Brief Review of Bitwise Logical Operations
The logical
XOR (exclusive OR)
operation compares 2 bits and if
exactly one of them is a
“1”,
then the result is
“1”,
otherwise the
result is
“0”.
0 1
0
0 1
1
1 0
NOT
The logical NOT operation simply changes the value of a single bit.
If it is a
“1”,
the result is
“0”,
if it is a
“0”,
the result is
“1”.
This
operation is carried out on a single bit.
0 1
1 0