HP 12C Platinum Owner's Handbook Manual page 116

And problem-solving guide
Hide thumbs Also See for 12C Platinum:
Table of Contents

Advertisement

118
Section 11: Multiple Programs
Example 1: Assuming that program memory still contains the last program from
the preceding section (which consisted of 17 program lines), store after that
program the office-supplies program from Section 8 (page 86). Since this is the
second program to be stored in program memory, we'll ensure that a i000
instruction separates it from the first program by doing step 3 in the procedure
above. Furthermore, since this program does not end with a loop, we'll do steps
5 and 6 too.
Keystrokes
Display
(RPN mode)
fs
000,
gi.017
017,43,33,002 Sets calculator to last line keyed
gi000
018,43,33,000 Ensures that second program is
\
019,
2
020,
5
021,
b
022,
-
023,
5
024,
+
025,
t
026,
gi019
027,43,33,019 Branches to beginning of program.
fs
12,000.00
Example 2: With the two programs now stored in program memory from the
preceding examples (occupying 27 program lines), store the amortization
program from Section 9 (page 102). Since there are already two programs stored
in program memory, we'll skip step 3 in the procedure above. Furthermore, since
the amortization program ends with a loop, we'll skip steps 5 and 6. When the
amortization program was stored at the beginning of program memory, the i
instruction at the end of the program branched to the :0 instruction in line
002. Since the :0 instruction is now in line 029, we'll specify that line
number with the i instruction in line 034.
Sets calculator to Program mode.
into program memory.
separated from first by i000.
36
2
5
Keys in program.
25
30
5
40
31 Halts program execution.
Sets calculator back to Run mode.
(Display shown assumes results
remain from running program in
previous example.)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents