Keystrokes (ALG mode)

gi018

gi.016

gi000

:3

~

go gi000 ?9

gi002

fs

7500?3

6500t

15000t

t

Section 10: Program Editing 147

Display

001,43,33,018 Branches to program line 018, the second line after last line of program.

016,

 

36

Sets calculator to last line of

 

 

 

program so that the gi000

 

 

 

instruction keyed in next will be

 

 

 

stored as the last line of the current

 

 

 

program.

017,43,33,000

Ends the current program with a

 

 

 

gi000.

018,

45

3

 

 

 

019,

 

34

 

 

Added instructions.

 

 

 

020,

43

34

 

 

 

 

 

021,43,33,000

 

 

 

022,

44

9

Keys in instruction immediately

 

 

 

following point at which new

 

 

 

instructions are being added. (This

instruction was replaced in line 001 by gi018 instruction.)

023,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.

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