Running A Program; Searching Forallabel - HP -34C Owner's Handbook Manual

Table of Contents

Advertisement

Simple Programming
53
The program for solving the area of a circle givenits radiusis now loaded
into your HP-34C's program memory. Notice that nothing could be
loaded into the top-of-memory marker, line 000.
Running a Program
Programs are executed in automatic run mode. With the PRGM-RUN
switchin [[lM[run position, key in any data thatis required, and press
the letter key ( (&) or (B]), that labels your program.
For example, to use the program now in the calculatorto calculate areas
of circles with radii of 3 inches, 6 meters, and 9 miles:
First, slide the PRGM-RUN switch to [l[Jru~ .
Keystrokes
Display
3 @&
28.2743
Square inches.
6 (&)
113.0973
Square meters.
9 (&)
254.4690
Square miles.
Now let's see how the HP-34C executed this program.
Searching for a Label
When you switched the PRGM-RUNswitch to RUN, the calculator was
set at line 005 of program memory, the last line you had filled with an
instruction when you were loading the program. When you pressed the
(A)key, the calculator began searching sequentially downward through
program memory, beginning with line 005, for a
(A)instruction.
When the calculator searches, it does not execute instructions.
Because line 005 did not contain the [n)
(] instruction, and no
further lines of program memory were occupied, your HP-34C returned
to line 000 and resumed searching downward through program memory.
When the calculator found the (] (L8L) (&) instruction in line 001 it
then began executing your program.

Advertisement

Table of Contents
loading

Table of Contents