Program Editing; Changing The Instruction In A Program Line - HP 0012C-90001 User Manual

12c financial calculator
Table of Contents

Advertisement

Program Editing

Program Editing
Program Editing
Program Editing
There are various reasons why you might want to modify a program you have
stored in Program memory: to correct a program that turns out to have errors; to
insert new instructions such as ? to store intermediate results or u to display
intermediate results; or to replace a u instruction by an t instruction.
Rather than clearing program memory and keying in the modified program, you
can modify the program already stored in the calculator. This is called
editing
.

Changing the Instruction in a Program Line

Changing the Instruction in a Program Line
Changing the Instruction in a Program Line
Changing the Instruction in a Program Line
To change a single instruction in program memory:
1. Press fs to set the calculator to Program mode.
2. Use Ê, Ü, or (. to set the calculator to the program line
the line containing the instruction to be changed.
3. Key in the new instruction.
For example, to change the instruction stored in program line 05, press
g(.04, then key in the new instruction that is to be stored in program line
05. The instruction previously stored in line 05 will be replaced; it is
automatically "bumped" into line 06.
Example: With the last program from the preceding section still stored in the
Example:
Example:
Example:
calculator, suppose you wanted to use register R
you needed to replace the :2 instruction in program line 05 with, say, :6.
You could change the instruction in line 05 as follows:
Keystrokes
Keystrokes
Keystrokes
Keystrokes
Display
Display
Display
Display
fs
00-
g(.04
04- 43, 33
:6
05-
Ê
06- 43, 33 08
Section 10
for some other purpose, and so
2
Sets calculator to Program mode.
07
Sets calculator to program line
preceding that containing the instruction
to be changed.
45
6
Keys new instruction into program line
05, replacing the :2 instruction
previously there.
Shows that instruction in program line
06 has not been changed.
113
113
113
113
program
preceding
not

Advertisement

Table of Contents
loading

Table of Contents