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
Summary of Contents for 35s
Page 1: ...HP 35s scientific calculator user s guide H Edition 1 HP part number F2215AA 90001 ...
Page 14: ...12 Contents ...
Page 15: ...Part 1 Basic Operation ...
Page 16: ......
Page 46: ...1 30 Getting Started ...
Page 63: ...RPN The Automatic Memory Stack 2 17 A Solution ...
Page 64: ...2 18 RPN The Automatic Memory Stack ...
Page 74: ...3 10 Storing Data into Variables ...
Page 180: ...12 14 Statistical Operations ...
Page 181: ...Part 2 Programming ...
Page 182: ......
Page 246: ...15 12 Solving and Integrating Programs ...
Page 270: ...16 24 Statistics Programs ...
Page 284: ...17 14 Miscellaneous Programs and Equations ...
Page 285: ...Part 3 Appendixes and Reference ...
Page 286: ......
Page 308: ...B 8 User Memory and the Stack ...
Page 322: ...C 14 ALG Summary ...
Page 336: ...D 14 More about Solving ...
Page 346: ...E 10 More about Integration ...
Page 352: ...F 6 Messages ...
Page 370: ...G 18 Operation Index ...
Page 382: ...Index 12 ...