Section 11: Multiple Programs 153
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
Keystrokes
(ALG mode)
Display
gi
000
024,43, 33,
000
Ensures that second program is
separated from first by
i
000.
-
025,
30
2
026, 2
5
027, 5
b
028,
25
+
029,
40
5
030, 5
}
031,
36
Keys in program.
t
032,
31
Halts program execution.
gi
025
033,43, 33,
025
Branches to beginning of program.
fs
12,000.00
Sets calculator back to Run mode.
(Display shown assumes results
remain from running program in
previous example.)
Example 2:
With the two programs now stored in program memory from the
preceding examples (occupying 27 program lines in RPN mode and 33 lines in
ALG mode), store the amortization program from Section 9(page 127). 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. In the RPN program, since the
:
0
instruction is now in line 029, we’ll specify that line number with the
i
instruction in line 034. In the ALG program, since the
:
0 instruction is now in
line 035, we’ll specify that line number with the
i
instruction in line 041.
Keystrokes
(RPN mode)
Display
fs
Sets calculator to Program
mode.
gi.
027
027,43, 33,
019
Sets calculator to last line
keyed into program memory.
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: ......