146 Section 10: Program Editing

Keystrokes (RPN mode)

:3

~

go

gi000

:0

gi002

fs

7500?3

6500t

15000t

t

Keystrokes (ALG mode)

fs gi.000

Display

 

 

 

 

 

012,

45

3

 

 

 

013,

 

34

 

 

Added instructions.

 

 

 

014,

43

34

 

 

 

 

 

015,43,33,000

 

 

 

016,

45

0

Keys in instruction immediately

 

 

 

following point at which new

 

 

 

instructions are being added. (This

 

 

 

instruction was replaced in line

 

 

 

001 by gi012 instruction.)

017,43,33,002

Branches back to second line (line

002)following point at which new instructions are being added.

12,000.00

Sets calculator back to Run mode.

7,500.00

Stores test value in register R3.

6,500.00

Runs program for income less than

 

$7,500. Display shows original

 

income keyed in, indicating that tax

 

is zero.

3,000.00

Tax on $15,000 income.

12,000.00

Net income after tax. This shows

 

program still works for an income

 

greater than $7,500 and less than

 

$20,000.

Display

 

 

Sets calculator to Program mode.

000,

Sets calculator to program line

 

immediately preceding point at

 

which new instructions are being

 

added. (In this particular example,

this step could have been skipped since calculator was already set at the proper program line.)

File name: hp 12c pt_user's guide_English_HDPMF123E27

Page: 146 of 275

Printed Date: 2005/8/1

Dimension: 14.8 cm x 21 cm