151
File name: HP 12cpt_user's guide_English_110608.DOC
Page: 284 of 285
Printed Date:
{
2009/1/13
Dimension: 14.8 cm x 21 cm
Section 11
Multiple Programs
You can store multiple programs in program memory, provided that you separate
them by instructions that will halt program execution after each program is run and
return to the beginning of the program if it is run again. You can run programs
after the first one stored in program memory by setting the calculator to the first
line of the program using
i
before pressing
t
.
Storing Another Program
To store a program after another program is already stored in program memory:
1. Press
fs
to set the calculator to Program mode. Do
not
clear program
memory.
2. Press
gi.
followed by three digits that specify the number of the last
line you keyed into program memory.
Note:
If this is the second program to be stored in program memory, you
will need to ensure that a
i
000 instruction separates it from the first
program by doing step 3. If there are already two or more programs stored
in program memory, skip step 3 and proceed with step 4.
3. Press
gi
000. This automatically converts a data storage register into
seven additional lines of program memory (if there was not already a
i
000 instruction remaining at the end of program memory), and it
ensures that program execution will branch to line 000 after the first
program is run.
4. Key the program into program memory. If you are storing a program that
you originally had written to be stored at the beginning of program memory
and the program contains a
i
instruction, be sure to change the line
number specified in the instruction so that the program will branch to the
actual new line number.
Note:
The next two steps are included so that program execution will halt
after this program is run and will return to the beginning of the program if it
is run again. If the program ends with a loop, you should skip steps 5 and 6
since the instructions in those steps would serve no purpose and never be
executed.
5. Press
t
. This halts program execution at the end of the program.
Summary of Contents for 12C
Page 1: ...HP 12c Platinum Financial Calculator User s guide H Edition 5 HP part number F2231AA 90001 ...
Page 15: ...Part I Problem Solving ...
Page 48: ...48 Section 3 Basic Financial Functions ...
Page 104: ......
Page 105: ...Part II Programming ...
Page 156: ......
Page 157: ...Part III Solutions ...
Page 230: ......
Page 231: ...Appendices ...
Page 277: ......