HP (Hewlett-Packard) 12C Calculator User Manual


 
Section 10: Program Editing 147
File name: hp 12c pt_user's guide_English_HDPMF123E27 Page: 147 of 275
Printed Date: 2005/8/1 Dimension: 14.8 cm x 21 cm
Keystrokes
(ALG mode)
Display
gi
018
001,43, 33, 018
Branches to program line 018, the
second line after last line of
program.
gi.
016
016, 36
Sets calculator to last line of
program so that the
gi
000
instruction keyed in next will be
stored as the last line of the current
program.
gi
000
017,43, 33, 000
Ends the current program with a
gi
000.
:
3
018, 45 3
~
019, 34
go
020, 43 34
gi
000
021,43, 33, 000
Added instructions.
?
9
022, 44 9
Keys in instruction immediately
following point at which new
instructions are being added. (This
instruction was replaced in line
001 by
gi
018 instruction.)
gi
002
023,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
.
6500
t
6,500.00
Runs program for income less than
$7,500. Display shows original
income keyed in, indicatin
g
that tax
is zero.
15000
t
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.