![HP 0012C-90001 User Manual Download Page 93](http://html.mh-extra.com/html/hp/0012c-90001/0012c-90001_user-manual_18915093.webp)
Section 8:
Section 8:
Section 8:
Section 8: Programming Basics
Programming Basics
Programming Basics
Programming Basics
93
93
93
93
File name: HP 12c+_user's guide_English_E_HDP0F12AE03_062608 - Modified.doc
Page: 93 of 213
Printed Date: 2021/6/16
Dimension: 14.8 cm x 21 cm
Program line 07 contains the last instruction
you keyed
into program memory.
However, if you press
Ê
again, you’ll see that this is
not
the last line
stored
in
program memory:
Keystrokes
Keystrokes
Keystrokes
Keystrokes
Display
Display
Display
Display
Ê
08- 43, 33 00
Program line 08
As you should now be able to tell from the keycodes displayed, the instruction in
program line 08 is
g(
00.
The
The
The
The
00 Instruction and Program Line 00
00 Instruction and Program Line 00
00 Instruction and Program Line 00
00 Instruction and Program Line 00
Whenever you run the program now stored in program memory, the calculator
executes the instruction in line 08 after executing the seven instructions you keyed
in. This
(
00 instruction — as its name implies — tells the calculator to “go to”
program line 00 and execute the instruction in that line. Although line 00 does not
contain a regular instruction, it does contain a “hidden” instruction that tells the
calculator to halt program execution. Thus, after each time the program is run, the
calculator automatically goes to program line 00 and halts, ready for you to key in
new data and run the program again. (The calculator is also automatically set to
program line 00 when you press
fs
to set the calculator from Program mode
to Run mode.)
The
(
00 instruction was already stored in line 08 — in fact, in
all
program
lines —
before
you keyed in the program. If no instructions have been keyed into
program memory, if Continuous Memory is reset, or if
f
CLEAR
Î
is pressed (in
Program mode), the instruction
(
00 is automatically stored in program lines 01
through 08. As you key each instruction into program memory, it replaces the
(
00 instruction in that program line.
If your program should consist of exactly eight instructions, there would be no
(
00 instructions remaining at the end of program memory. Nevertheless, after
such a program is executed the calculator automatically returns to program line 00
and halts, just as if there were a
(
00 instruction following the program.
If you key in more than eight instructions, program memory automatically expands
to accommodate the additional instructions.
Summary of Contents for 0012C-90001
Page 1: ...hp 12c financial calculator user s guide H Edition 5 HP Part Number 0012C 90001 ...
Page 14: ......
Page 15: ...Part I Part I Part I Part I Problem Solving Problem Solving Problem Solving Problem Solving ...
Page 86: ......
Page 87: ...Part II Part II Part II Part II Programming Programming Programming Programming ...
Page 123: ...Part III Part III Part III Part III Solutions Solutions Solutions Solutions ...
Page 169: ...Appendi Appendi Appendi Appendixes xes xes xes ...