62
Examples in DEC mode
Note:
Mode can be set to DEC, BIN, OCT, or HEX. See the
Mode section.
Boolean logic
% — !
displays the
LOGIC
menu, which lets you
perform boolean logic.
3: d
Specifies a decimal number.
4: o
Specifies an octal integer.
d
´
Hex
-
127
% —
1
<
h
´
Bin
-
% ¬ % ¬
% — "
1
% —
2
<
b
´
Oct
-
10000000
% — "
2
% —
4
<
o
´
Dec
# <
1: and
Bitwise AND of two integers
2: or
Bitwise OR of two integers
3: xor
Bitwise XOR of two integers
4: xnor
Bitwise XNOR of two integers
5: not(
Logical NOT of a number
6: 2’s(
2’s complement of a number
7: nand
Bitwise NAND of two integers