Hewlett-packard calculator user manual (116 pages)
Summary of Contents for HP 33S
HP 33S Writing a Simple Program Programming the HP 33S Practice example: the area of a circle Tools for programming Practice example: the sinc function Using a program in another program...
A simple program is just a set of keystrokes stored so that they can be carried out with one key. The HP 33S provides many commands to let programs do more, for example stop and ask for input, or show an intermediate result. This training aid concentrates on simple programming;...
To use the program, it is necessary to move out of program mode, and to return to the beginning of the program. Then a radius is typed and the ¥ key is pressed. The HP 33S executes (or runs) the program.
Tools for programming The HP 33S allows the user to create any or all of the labels from LBL A through LBL Z. The lines after a label all have that label at the beginning of their line numbers. When a new label is typed, the HP 33S starts over again at line 1, with the new label’s name at the beginning of each line.
HP 33S Writing a Simple Program Each label can be used only one time, and the HP 33S treats the lines from one label until the next label as a separate program. It is also possible to have a program with no label, from the “PRGM TOP” until the first label.
The LBL and the RTN help to identify each program. If a program is executed by the user pressing ¥ then the Ô goes back to the top of program memory, where the program stops. If both program B and program A are in the HP 33S, and program A is used, then the RTN at the end will go to label B at the top of program memory.
0 will be clear, because it was cleared at step C0003. This is the way all tests work in HP 33S programs – do the next step if the test is true, or just do if true.
-499 HP 33S replaces numbers this small with zero. So the result should not be tested, instead flag 0 should be tested, and if it is set then the original number was zero. In that case, it must be turned into a 1. First press º·30.
… more program lines … As this shows, if another program needs to calculate a sinc value, it can use program C like an HP 33S function. First the number x is typed. Then, Instead of typing a function name, the user must call the sinc program by typing XEQ C.