Press this key: When you want to input this:
(and)
Logical operator "and" (logical product),
which returns the result of a bitwise AND
(or)
Logical operator "or" (logical sum), which
returns the result of a bitwise OR
(xor)
Logical operator "xor" (exclusive logical
sum), which returns the result of a bitwise
XOR
(xnor)
Logical operator "xnor" (exclusive
negative logical sum), which returns the
result of a bitwise XNOR
(Not)
"Not(" function, which returns the result of
a bitwise complement
(Neg)
"Neg(" function, which returns the result of
a two's complement
All of the following examples are performed in the binary mode ( (BIN)).
Example 1: To determine the logical AND of 1010
2
and 1100
2
(1010
2
and
1100
2
)
1010
(BASE) (and) 1100 0000000000001000
Example 2: To determine the logical OR of 1011
2
and 11010
2
(1011
2
or
11010
2
)
1011 (BASE) (or) 11010 0000000000011011
Example 3: To determine the logical XOR of 1010
2
and 1100
2
(1010
2
xor
1100
2
)
1010 (BASE) (xor) 1100 0000000000000110
Example 4: To determine the logical XNOR of 1111
2
and 101
2
(1111
2
xnor
101
2
)
1111 (BASE) (xnor) 101 1111111111110101
Example 5: To determine the bitwise complement of 1010
2
(Not(1010
2
))
58