HP (Hewlett-Packard) HP 33s Calculator User Manual


 
12–22 Simple Programming
File name 33s-English-Manual-040130-Publication(Edition 2).doc Page : 388
Printed Date : 2004/1/30 Size : 13.7 x 21.2 cm
Nonprogrammable Functions
The following functions of the HP 33s are not programmable:
¹
¡
{

}
¹
r
Ë
Ë
¹
¡
{

}
¹
r
Ë
label nnnn
~
¹
u
Ø
,
×
,
Ö
,
Õ
º
Î
¹
£
º
d
¹
¦
,
¹ ¨
¹
É
Programming with BASE
You can program instructions to change the base mode using
¹
. These
settings work in programs just as they do as functions executed from the keyboard.
This allows you to write programs that accept numbers in any of the four bases, do
arithmetic in any base, and display results in any base.
When writing programs that use numbers in a base other than 10, set the base
mode both as the current setting for the calculator and in the program (as an
instruction).
Selecting a Base Mode in a Program
Insert a BIN, OCT, or HEX instruction into the beginning of the program. You
should usually include a DEC instruction at the end of the program so that the
calculator's setting will revert to Decimal mode when the program is done.
An instruction in a program to change the base mode will determine how input is
interpreted and how output looks
during and after program execution, but it does
not affect the program lines as you enter them.
Equation evaluation, SOLVE, and
FN automatically set Decimal mode.