Download  Print this page

Adding Instructions By Branching - HP 12C Platinum User Manual

Financial calculator.
Hide thumbs

Advertisement

146 Section 10: Program Editing
Keystrokes
(ALG mode)
Þ
+
:9
}
fs
15000t
t

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 i000 instruction. The
i000 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 gi012 at this step,
preserving the gi000 in line 011.
4. Press gi. followed by three digits that specify the last line you keyed
into program memory.
5. Press gi000. This automatically converts a data storage register into
seven additional lines of program memory (if there was not already a
gi000 instruction remaining at the end of program memory), and it
Display
013,
16
014,
40
015,
45
9
016,
36
12,000.00
3,000.00
12,000.00
Keys new instruction into
program line 013.
Keys new instruction into
program line 014.
Keys new instruction into
program line 015.
Keys new instruction into
program line 016.
Sets calculator back to Run mode.
Twenty percent tax on $15,000
income.
Net income after 20% tax is
subtracted from $15,000
income.

Advertisement

Table of Contents

   Also See for HP 12C Platinum

   Related Manuals for HP 12C Platinum

Comments to this Manuals

Symbols: 0
Latest comments: