HP 113394 User Guide - Page 136
X-register and test value has been
UPC - 808736340502
View all HP 113394 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 136 highlights
136 Section 9: Branching and Looping Keystrokes (ALG mode) 20000?0 20?1 25?2 15000 Ê Ê Ê Ê Ê Ê Ê Ê Ê Display 20,000.00 20.00 25.00 15,000. 001, 44 Stores test value in register R0. Stores 20% tax rate in register R1. Stores 25% tax rate in register R2. Keys income less than test value into display and X-register. 9 Line 001: ?9. 15,000.00 002, 45 Stores income into register R9. 0 Line 002: :0. 20,000.00 003, Test value has been recalled to X-register, moving income to Y-register. 34 Line 003: ~ 15,000.00 004, Income has been placed in X-register and test value has been placed in Y-register. 20 Line 004: § 15,000.00 005, 43 34 Line 005: go 15,000.00 006,43,33,009 Condition tested by o was true, so program execution continued with line 006: gi009. 15,000.00 009, 45 1 Line 009: :1. 20.00 010, 20% tax rate has been recalled to X-register, moving income to Y-register. 25 Line 010: b. 0.20 011, Divides tax rate by 100. 36 Line 011: }. 3,000.00 20% of 15,000 = 3,000. File name: hp 12c pt_user's guide_English_HDPMF123E27 Page: 136 of 275 Printed Date: 2005/8/1 Dimension: 14.8 cm x 21 cm