Operation Manual
Section 10: Program Editing 115
The following illustration of the edited program shows how program execution
branches to the instructions added at the end of program memory, then branches
back.
gi.010
010, 30
Sets calculator to last line of
program so that i000
instruction keyed in next will be
stored in first line following
program.
gi000
011,43,33,000
Ensures that i000 instruction
follows program.
:3
012, 45 3
Added instructions.
~
013, 34
go
014, 43 34
gi000
015,43,33,000
:0
016, 45 0
Keys in instruction immediately
following point at which new
instructions are being added. (This
instruction was replaced in line 001
by i012 instruction.)
gi002
017,43,33,002
Branches back to second line (line
002) following point at which new
instructions are being added.
fs
12,000.00
Sets calculator back to Run mode.
7500?3
7,500.00
Stores test value in register R
3
.
6500t
6,500.00
Runs program for income less than
$7,500. Display shows original
income keyed in, indicating that tax
is zero.
15000t
3,000.00
Tax on $15,000 income.
t
12,000.00
Net income after tax. This shows
program still works for an income
greater than $7,500 and less than
$20,000.
Keystrokes
(RPN mode)
Display