D-Link DES-3326 User Manual - Rief
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
Brief Review of Bitwise Logical Operations
381
E
B
RIEF
R
EVIEW OF
B
ITWISE
L
OGICAL
O
PERATIONS
AND
The logical
AND
operation compares 2 bits and if they are both “
1”,
then the result is
“1”,
otherwise, the result is
“0”.
0 1
0 0 0
1 0 1
OR
The logical
OR
operation compares 2 bits and if either or both bits
are
“1”,
then the result is
“1”,
otherwise, the result is
“0”.
0 1
0
0 1
1
1 1
XOR