HP 12C Financial calculator User Manual

Page 118

Advertising
background image

118 Section 10: Program Editing

File name: hp 12c_user's guide_English_HDPMBF12E44

Page: 118 of 209

Printered Date: 2005/7/29

Dimension: 14.8 cm x 21 cm

Keystrokes Display

:3

12-

45

3

~

13-

34

go

14-

43

34

gi00

15- 43, 33 00

Added instructions.

:0

16-

45

0

Keys in instruction immediately
following point at which new
instructions are being added. (This
instruction was replaced in line 01
by i12 instruction.)

gi02

17- 43, 33 02

Branches back to second line (line
02) 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.

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.

Advertising