Keystrokes (ALG mode)

Ê

20000

Ê

Ê

Ê

Ê

Ê

Ê

Ê

Ê

Ê

Ê

Section 9: Branching and Looping 137

Display

012,43,33,000 Line 012: gi000.

3,000.00

20,000. Keys income equal to test value into display and X-register.

001,

44

9

Line 001: ?9.

20,000.00

0

Stores income into register R9.

002,

45

Line 002: :0.

20,000.00

 

Test value has been recalled to

 

 

 

X-register, moving income to

 

 

 

Y-register.

003,

 

34

Line 003: ~.

20,000.00

 

Income has been placed in

 

 

 

X-register and test value has been

 

 

 

placed in Y-register.

004, 20 Line 004: § 20,000.00

005, 43 34 Line 005: go.

20,000.00

006,43,33,009 Condition tested by owas true, so program execution continued with line 006: gi009.

20,000.00

009,

45

1 Line 009: :1.

20.0020% tax rate has been recalled to X-register, moving income to Y-register.

010,

25 Line 010: b.

0.20Divides tax rate by 100.

011, 36 Line 011: }.

4,000.00 20% of 20,000 = 4,000.

012,43,33,000 Line 012: gi000.

4,000.00

File name: hp 12c pt_user's guide_English_HDPMF123E27

Page: 137 of 275

Printed Date: 2005/8/1

Dimension: 14.8 cm x 21 cm

Page 137
Image 137
HP 12C Financial 12C manual 012,43,33,000 Line 012 gi000 000.00, 005, 43 34 Line 005 go 20,000.00, 20,000.00 009, Line 009