11-4 Base Conversions and Arithmetic and Logic
LOGIC Menu
The “AND”, “OR”, “XOR”, “NOT”, “NAND”, “NOR” can be used as logic
functions. Fraction, complex, vector arguments will be seen as an "
" in logic function.
Arithmetic in Bases 2, 8, and 16
You can perform arithmetic operations using , , , and in any base.
The only function keys that are actually deactivated in HEX mode are
, ,
, , , and . However, you should realize that most operations other
than arithmetic will not produce meaningful results since the fractional parts of
numbers are truncated.
Arithmetic in bases 2, 8, and 16 is in 2's complement form and uses integers only:
If a number has a fractional part, only the integer part is used for an
arithmetic calculation.
Menu label Description
Logical bit-by-bit "AND" of two arguments.
For example: AND(1100b,1010b)=1000b
Logical bit-by-bit "XOR" of two arguments.
For example: XOR(1101b,1011b)=110b
Logical bit-by-bit "OR" of two arguments.
For example: OR(1100b,1010b)=1110b
Returns the one's complement of the argument. Each bit in
the result is the complement of the corresponding bit in the
argument.
For example: NOT(1011b)=
111111111111111111111111111111110100b
Logical bit-by-bit "NAND" of two arguments.
For example:
NAND(1100b,1010b)=11111111111111111111111
1111111110111b
Logical bit-by-bit "NOR" of two arguments.
For example: NOR(1100b,1010b)=
111111111111111111111111111111110001b