hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 7
... 88 Running a Program 89 Program Memory 90 Identifying Instructions in Program Lines 91 Displaying Program Lines 92 The 00 Instruction and Program Line 00 93 Expanding Program Memory 94 Setting the Calculator to a Particular Program Line 95 Executing a Program ... 10: Program Editing 113 Changing the Instruction in a Program Line 113 Adding Instructions at the End of a Program 114 Adding Instructions Within a Program 115 Adding Instructions by Replacement 115 Adding Instructions by Branching 116 File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29...
... 88 Running a Program 89 Program Memory 90 Identifying Instructions in Program Lines 91 Displaying Program Lines 92 The 00 Instruction and Program Line 00 93 Expanding Program Memory 94 Setting the Calculator to a Particular Program Line 95 Executing a Program ... 10: Program Editing 113 Changing the Instruction in a Program Line 113 Adding Instructions at the End of a Program 114 Adding Instructions Within a Program 115 Adding Instructions by Replacement 115 Adding Instructions by Branching 116 File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 18
...press Æ (enter exponent), then key in the exponent. fCLEARG Financial registers. fCLEARH Data storage registers, financial registers, stack and LAST X registers, and display. 18 Section 1:...or the display replaces the number in calculations just like any other number. There are several clearing operations on the hp 12c, as shown in Program mode). However,...hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 18 of 12: Keystrokes Display 1.7814Æ12 1.7814 12 1,781,400,000,000 entered in scientific notation. Clearing program memory replaces the instructions...
...press Æ (enter exponent), then key in the exponent. fCLEARG Financial registers. fCLEARH Data storage registers, financial registers, stack and LAST X registers, and display. 18 Section 1:...or the display replaces the number in calculations just like any other number. There are several clearing operations on the hp 12c, as shown in Program mode). However,...hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 18 of 12: Keystrokes Display 1.7814Æ12 1.7814 12 1,781,400,000,000 entered in scientific notation. Clearing program memory replaces the instructions...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 31
... including leap days (the extra days occurring in leap years), if any. The answer shown in the display is executed as an instruction in a running program, the calculator pauses for about 1 second to month-day-year. (Display shown assumes date remains from preceding example.) Keys in earlier date and separates... it from the later date. 10.142005gÒ ~ 498.00 491.00 Keys in later date. In addition, the hp 12c also calculates the number of days between the two dates on the basis of a 30-day month. Key in the earlier date and press \. 2. Number of...
... including leap days (the extra days occurring in leap years), if any. The answer shown in the display is executed as an instruction in a running program, the calculator pauses for about 1 second to month-day-year. (Display shown assumes date remains from preceding example.) Keys in earlier date and separates... it from the later date. 10.142005gÒ ~ 498.00 491.00 Keys in later date. In addition, the hp 12c also calculates the number of days between the two dates on the basis of a 30-day month. Key in the earlier date and press \. 2. Number of...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 70
... Memory as display format, date format, and payment mode. Section 5 Additional Operating Features Continuous Memory The calculator's Continuous Memory contains the data storage registers, the financial registers, the stack and LAST X registers, program memory, and status information such as follows: 1. z... the display. 70 File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 70 of eight program lines, each containing the instruction g(00. Furthermore, information in Continuous Memory is preserved even while the calculator is set to the standard format ...
... Memory as display format, date format, and payment mode. Section 5 Additional Operating Features Continuous Memory The calculator's Continuous Memory contains the data storage registers, the financial registers, the stack and LAST X registers, program memory, and status information such as follows: 1. z... the display. 70 File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 70 of eight program lines, each containing the instruction g(00. Furthermore, information in Continuous Memory is preserved even while the calculator is set to the standard format ...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 90
...line within program memory. At the left of the display is stored in price of 209 Dimension: 14.8 cm x 21 cm File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 90 of typewriter. Keystrokes fs 625 t 159 t Display 155.00 625. 473.75 159. 124... lines. 90 Section 8: Programming Basics Example: Run the program created above to calculate the net cost of a typewriter listing for $625 and an executive chair listing for program line 00, since no regular instruction is stored there. beginning with the current line in program memory and proceeding sequentially...
...line within program memory. At the left of the display is stored in price of 209 Dimension: 14.8 cm x 21 cm File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 90 of typewriter. Keystrokes fs 625 t 159 t Display 155.00 625. 473.75 159. 124... lines. 90 Section 8: Programming Basics Example: Run the program created above to calculate the net cost of a typewriter listing for $625 and an executive chair listing for program line 00, since no regular instruction is stored there. beginning with the current line in program memory and proceeding sequentially...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 91
... digit keys 0 through 9 for the ninth key in the row and 0 for the tenth key in the keystroke sequence. When you keyed the instruction + into program memory, the calculator displayed 07- 40 This indicates that the key for all the keys in the row. The first digit in that row: the + key... and is the tenth key in the keycode is the number of that line would show the keycodes for the instruction in program line 07 is in the fourth row on the hp 12c keyboard - Since keystroke sequences beginning with f, g, ?, :, and i are stored in only one program line, the display of the key...
... digit keys 0 through 9 for the ninth key in the row and 0 for the tenth key in the keystroke sequence. When you keyed the instruction + into program memory, the calculator displayed 07- 40 This indicates that the key for all the keys in the row. The first digit in that row: the + key... and is the tenth key in the keycode is the number of that line would show the keycodes for the instruction in program line 07 is in the fourth row on the hp 12c keyboard - Since keystroke sequences beginning with f, g, ?, :, and i are stored in only one program line, the display of the key...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 92
... , the calculator displays all of the instruction stored there. For example, to Program mode and press Ê twice: Keystrokes fs Ê Ê Display 00- 0102- Keystrokes Ê (Release Ê) Display 01- . . . 07- 36 Program line 01 . . . 40 Program line 07 File name: hp 12c_user's guide_English_HDPMBF12E44... the reverse: Keystrokes gÜ gÜ Display 0100- 36 Program line 01. The hp 12c enables you 'll want to Program mode and displays current line of the lines in program memory, set the calculator to display the first two lines of 209 Dimension: 14.8 cm x 21 cm
... , the calculator displays all of the instruction stored there. For example, to Program mode and press Ê twice: Keystrokes fs Ê Ê Display 00- 0102- Keystrokes Ê (Release Ê) Display 01- . . . 07- 36 Program line 01 . . . 40 Program line 07 File name: hp 12c_user's guide_English_HDPMBF12E44... the reverse: Keystrokes gÜ gÜ Display 0100- 36 Program line 01. The hp 12c enables you 'll want to Program mode and displays current line of the lines in program memory, set the calculator to display the first two lines of 209 Dimension: 14.8 cm x 21 cm
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 93
... through 08. File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 93 of program memory. as if there were a i00 instruction following the program. The 00 Instruction and Program Line 00 Whenever you run the program again. (The calculator is run, the calculator automatically goes to program line ... halts, ready for you to key in new data and run the program now stored in program memory, the calculator executes the instruction in line 08 after executing the seven instructions you press fs to set to program line 00 when you keyed in that tells the...
... through 08. File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 93 of program memory. as if there were a i00 instruction following the program. The 00 Instruction and Program Line 00 Whenever you run the program again. (The calculator is run, the calculator automatically goes to program line ... halts, ready for you to key in new data and run the program now stored in program memory, the calculator executes the instruction in line 08 after executing the seven instructions you press fs to set to program line 00 when you keyed in that tells the...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 94
...stored in program line 09, and the instruction i00 is automatically converted into program memory, if Continuous Memory has been reset, or if fCLEARÎ has been pressed (in program lines 10 through 15. File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 ...Page: 94 of 209 Dimension: 14.8 cm x 21 cm The instruction you key in a ninth instruction, storage register R is automatically stored in Program mode), program memory consists...
...stored in program line 09, and the instruction i00 is automatically converted into program memory, if Continuous Memory has been reset, or if fCLEARÎ has been pressed (in program lines 10 through 15. File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 ...Page: 94 of 209 Dimension: 14.8 cm x 21 cm The instruction you key in a ninth instruction, storage register R is automatically stored in Program mode), program memory consists...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 95
... you 'll want to save one digit - here it will be lost). File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 95 of the instruction stored there. The calculator will respond with a display like the following the 16th, 23th etc.) will be stored in...including those containing i00) are currently in program memory and how many business and financial decisions, there is between program lines and data storage registers. that register; Although you key an instruction into program memory - by the digit keys, and then displays that they ...
... you 'll want to save one digit - here it will be lost). File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 95 of the instruction stored there. The calculator will respond with a display like the following the 16th, 23th etc.) will be stored in...including those containing i00) are currently in program memory and how many business and financial decisions, there is between program lines and data storage registers. that register; Although you key an instruction into program memory - by the digit keys, and then displays that they ...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 96
... name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 96 of executing that the program you have keyed the instructions in correctly. In Run mode, however, when the Ç key is released the instruction in Program mode, you can execute the program one line at a Time Pressing Ç repeatedly with the calculator in Program...
... name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 96 of executing that the program you have keyed the instructions in correctly. In Run mode, however, when the Ç key is released the instruction in Program mode, you can execute the program one line at a Time Pressing Ç repeatedly with the calculator in Program...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 97
... line following that line's number and the keycode of the instruction stored there, just as it did before the u instruction was pressed: no instruction in Program mode. Pausing During Program Execution When a running program executes a u instruction, program execution halts for doing so: u (pause) and...program line 07 (the last line of 209 Dimension: 14.8 cm x 21 cm The hp 12c provides two functions for about 1 second, then resumes. Pressing gÜ while the calculator is halted indefinitely. Interrupting Program Execution Occasionally you press any key during a pause, program ...
... line following that line's number and the keycode of the instruction stored there, just as it did before the u instruction was pressed: no instruction in Program mode. Pausing During Program Execution When a running program executes a u instruction, program execution halts for doing so: u (pause) and...program line 07 (the last line of 209 Dimension: 14.8 cm x 21 cm The hp 12c provides two functions for about 1 second, then resumes. Pressing gÜ while the calculator is halted indefinitely. Interrupting Program Execution Occasionally you press any key during a pause, program ...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 98
To conserve lines of program memory, instead of keying in the tax rate before the b instruction we 'll press those keys before beginning the manual calculation - The keystroke sequence will contain the tax rate.) File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 98 of these columns for all items on the invoice...
To conserve lines of program memory, instead of keying in the tax rate before the b instruction we 'll press those keys before beginning the manual calculation - The keystroke sequence will contain the tax rate.) File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 98 of these columns for all items on the invoice...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 99
...Recalls tax rate to display AMOUNT. 03- 44 40 1 04- 45 0 05- 25 File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 99 of 209 Dimension: 14.8 cm x 21 cm ...display. Section 8: Programming Basics 99 Pressing the gu keys is not necessary when we do the calculations manually, since in Run mode the result of item. Keystrokes Display 6.75?0 fCLEAR² ...61 950.61 Keys in cost of TOTAL entries in register R . 3 Now, we 'll include u instructions in program memory. TOTAL. TAX. Do not key in the quantity and cost of TAX entries in R0...
...Recalls tax rate to display AMOUNT. 03- 44 40 1 04- 45 0 05- 25 File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 99 of 209 Dimension: 14.8 cm x 21 cm ...display. Section 8: Programming Basics 99 Pressing the gu keys is not necessary when we do the calculations manually, since in Run mode the result of item. Keystrokes Display 6.75?0 fCLEAR² ...61 950.61 Keys in cost of TOTAL entries in register R . 3 Now, we 'll include u instructions in program memory. TOTAL. TAX. Do not key in the quantity and cost of TAX entries in R0...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 101
...for first item. Section 8: Programming Basics 101 If the duration of the pause is automatically halted when the program executes a t instruction. Stopping Program Execution Stopping Program Execution Automatically. AMOUNT for first item. Clears program memory. 20 31 Stops program execution to display ...AMOUNT. 1 0 25 31 Stops program execution to display TAX. 2 40 3 Sets calculator to Program mode. File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 101 of 209 Dimension: 14.8 cm x 21 cm TOTAL for first ...
...for first item. Section 8: Programming Basics 101 If the duration of the pause is automatically halted when the program executes a t instruction. Stopping Program Execution Stopping Program Execution Automatically. AMOUNT for first item. Clears program memory. 20 31 Stops program execution to display ...AMOUNT. 1 0 25 31 Stops program execution to display TAX. 2 40 3 Sets calculator to Program mode. File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 101 of 209 Dimension: 14.8 cm x 21 cm TOTAL for first ...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 102
...execution manually, you can determine at which program line execution has halted and/or resume program execution as described above. File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 102 of AMOUNT column. To continue executing the program afterward: 1. To halt program...mode. 2. Pressing any key to clear the Error display, then press fs to set the calculator back to resume execution. AMOUNT for fourth item. Either of several t instructions in your program has halted at one of these conditions signifies that specify the program line ...
...execution manually, you can determine at which program line execution has halted and/or resume program execution as described above. File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 102 of AMOUNT column. To continue executing the program afterward: 1. To halt program...mode. 2. Pressing any key to clear the Error display, then press fs to set the calculator back to resume execution. AMOUNT for fourth item. Either of several t instructions in your program has halted at one of these conditions signifies that specify the program line ...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 103
...is typically done in program memory. Branching also makes it is desirable to have already seen a common use of branching: the i00 instruction (that is not the next line in program memory. The program line desired is executed, program execution branches or "goes to" the... line number into the program line containing the i instruction. but also forward in conjunction with an o or m instruction for conditional branching (as illustrated above - as in the case of i00 and as described afterward). 103 File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 103...
...is typically done in program memory. Branching also makes it is desirable to have already seen a common use of branching: the i00 instruction (that is not the next line in program memory. The program line desired is executed, program execution branches or "goes to" the... line number into the program line containing the i instruction. but also forward in conjunction with an o or m instruction for conditional branching (as illustrated above - as in the case of i00 and as described afterward). 103 File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 103...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 104
...01- 44 Sets calculator to execute the entire loop a third time before running the program. File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 104 of payments to press f! then we can include an o or m instruction (described below) or an t instruction within the loop....and again. 104 Section 9: Branching and Looping Looping If a i instruction specifies a lower-numbered line in program memory, the instructions in the program lines between the specified line and the i instruction will be amortized. As can also terminate execution by storing the ...
...01- 44 Sets calculator to execute the entire loop a third time before running the program. File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 104 of payments to press f! then we can include an o or m instruction (described below) or an t instruction within the loop....and again. 104 Section 9: Branching and Looping Looping If a i instruction specifies a lower-numbered line in program memory, the instructions in the program lines between the specified line and the i instruction will be amortized. As can also terminate execution by storing the ...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 105
Sets payment to which program execution will later branch. Enters i. File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 105 of payments to amortize monthly payments. 0 Line 01: ?0. 1.00 * More precisely, the ...can be amortized. Enters n. Reset n to Run mode. (Display shown assumes no results remain from previous calculations.) Clears financial registers. Section 9: Branching and Looping 105 Keystrokes :0 f! Enters PV. Calculates the monthly payment. instruction in the "display"* is executed. 0.00 0.00 360.00 1.06 50,000.00 50,000.00 ...
Sets payment to which program execution will later branch. Enters i. File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 105 of payments to amortize monthly payments. 0 Line 01: ?0. 1.00 * More precisely, the ...can be amortized. Enters n. Reset n to Run mode. (Display shown assumes no results remain from previous calculations.) Clears financial registers. Section 9: Branching and Looping 105 Keystrokes :0 f! Enters PV. Calculates the monthly payment. instruction in the "display"* is executed. 0.00 0.00 360.00 1.06 50,000.00 50,000.00 ...
hp 12c_user's guide_English_E_HDPMBF12E44.pdf
Page 107
... is desirable for the particular income level. The hp 12c provides two conditional test instructions that would place the number 4 in the Y-register and the number 5 in the display when \ was pressed. For example, pressing 4\5 would , if the calculator were in Run mode, have been in the ... A, the number in the Y-register (represented by an accountant to calculate taxes might need to branch to interest. The possible results of executing either of the second pass through the loop. File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 107 of third month...
... is desirable for the particular income level. The hp 12c provides two conditional test instructions that would place the number 4 in the Y-register and the number 5 in the display when \ was pressed. For example, pressing 4\5 would , if the calculator were in Run mode, have been in the ... A, the number in the Y-register (represented by an accountant to calculate taxes might need to branch to interest. The possible results of executing either of the second pass through the loop. File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 107 of third month...