146 Section 10: Program Editing
File name: HP 12c Pt Converted_user's guide_English_HDP0F123E02_080207
Page: 271 of 281
Printed Date:
{
2007/8/2Dimension: 14.8 cm x 21 cm
Keystrokes
(ALG mode)
Display
Þ
013,
16
Keys new instruction into
program line 013.
+
014,
40
Keys new instruction into
program line 014.
:
9
015, 45 9
Keys new instruction into
program line 015.
}
016,
36
Keys new instruction into
program line 016.
fs
12,000.00
Sets calculator back to Run mode.
15000
t
3,000.00
Twenty percent tax on $15,000
income.
t
12,000.00
Net income after 20% tax is
subtracted from $15,000
income.
Adding Instructions by Branching
1. Press
fs
to set the calculator to Program mode.
2. Press
gi.
followed by three digits that specify the program line
immediately preceding the point at which the new instruction(s) are being
added — usually, the last program line to be executed before the added
instruction(s). This sets the calculator to the proper program line for inserting
a
i
instruction in the next step. This
i
instruction will replace whatever
instruction was already stored there, but that instruction will be keyed back
into program memory, to be executed just after the new instructions, in step
7.
3. Press
gi
followed by three digits that specify the
second
line after the
last line you keyed into program memory. (Branching to the
second
line
rather than to the
first
is necessary because the first line following the last
program in program memory must contain a
i
000 instruction. The
i
000 instruction ensures that program execution will branch to line 000
and halt after the program is run.) For example, if the last line you keyed into
program memory was line 010, you would press
gi
012 at this step,
preserving the
gi
000 in line 011.
4. Press
gi.
followed by three digits that specify the last line you keyed
into program memory.
5. Press
gi
000. This automatically converts a data storage register into
seven additional lines of program memory (if there was not already a
gi
000 instruction remaining at the end of program memory), and it
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: ......