50941
95
Zoom out
Zoom in
Previous page
1/218
Next page
Section 8: Programming Basics 95
Pressing while the calculator is in Run mode sets the calculator to the
previous line in program memory, then displays that line’s number and the
keycode of the instruction stored there, just as in Program mode. In Run mode,
however, when the Ü key is released the display again shows the same
number as it did before was pressed: no instruction in program memory
is executed.
Interrupting Program Execution
Occasionally you’ll want a program to stop executing so that you can see an
intermediate result or enter new data. The HP 12C Platinum provides two
functions for doing so: u (pause) and t (run/stop).
Pausing During Program Execution
When a running program executes a u instruction, program execution halts
for about 1 second, then resumes. During the pause, the calculator displays the
last result calculated before the u instruction was executed.
If you press any key during a pause, program execution is halted indefinitely. To
resume program execution at the program line following that containing the u
instruction, press t.
Example: Create a program that calculates the entries in the AMOUNT, TAX,
and TOTAL columns for each item on the jewelry distributors invoice shown on
the next page, and also calculates the total in each of these columns for all items
on the invoice. Assume the sales tax is 6¾%.
To conserve lines of program memory, instead of keying in the tax rate before
the b instruction we’ll store it in register R
0
and recall it before the b
instruction. Before storing the program in program memory, we’ll calculate the
156.25
Result of executing program line
004.
Ê
005, 30
Program line 005: -
468.75
Result of executing program line
005.
Ê
006, 5
Program line 006: 5
5.
Result of executing program line
006.
Ê
007, 40
Program line 007: +
473.75
Result of executing program line
007 (the last line of the program).
Keystrokes
(RPN mode)
Display
95


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for HP HP-12c at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of HP HP-12c in the language / languages: English as an attachment in your email.

The manual is 1,87 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info