HP 113394 User Guide - Page 144
Adding Instructions by Branching
UPC - 808736340502
View all HP 113394 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 144 highlights
144 Section 10: Program Editing Keystrokes (ALG mode) Þ + :9 } fs 15000t t Display 013, 16 014, 40 015, 45 9 016, 36 12,000.00 3,000.00 12,000.00 Keys new instruction into program line 013. Keys new instruction into program line 014. Keys new instruction into program line 015. Keys new instruction into program line 016. Sets calculator back to Run mode. Twenty percent tax on $15,000 income. Net income after 20% tax is subtracted from $15,000 income. Adding Instructions by Branching 1. Press fs to set the calculator to Program mode. 2. Press gi. followed by three digits that specify the program line immediately preceding the point at which the new instruction(s) are being added - usually, the last program line to be executed before the added instruction(s). This sets the calculator to the proper program line for inserting a i instruction in the next step. This i instruction will replace whatever instruction was already stored there, but that instruction will be keyed back into program memory, to be executed just after the new instructions, in step 7. 3. Press gi followed by three digits that specify the second line after the last line you keyed into program memory. (Branching to the second line rather than to the first is necessary because the first line following the last program in program memory must contain a i000 instruction. The i000 instruction ensures that program execution will branch to line 000 and halt after the program is run.) For example, if the last line you keyed into program memory was line 010, you would press gi012 at this step, preserving the gi000 in line 011. 4. Press gi. followed by three digits that specify the last line you keyed into program memory. 5. Press gi000. This automatically converts a data storage register into seven additional lines of program memory (if there was not already a gi000 instruction remaining at the end of program memory), and it File name: hp 12c pt_user's guide_English_HDPMF123E27 Page: 144 of 275 Printed Date: 2005/8/1 Dimension: 14.8 cm x 21 cm