50941
93
Zoom out
Zoom in
Previous page
1/218
Next page
Section 8: Programming Basics 93
To determine at any time how many program lines (including those containing
i000) are currently in program memory and how many storage registers are
currently available for conversion to program lines or for data storage, press
gN (memory). The calculator will respond with a display like the following:
Up to 400 instructions can be stored in program memory. Doing so would
require the conversion of 56 data storage registers (because 400 = 8 + [56 × 7]),
leaving 7 storage registers – R
0
through R
6
– available for data storage.
If you find yourself creating long programs, you should create your programs so
that they don’t use up program lines unnecessarily, since program memory is
limited to 400 program lines. One way to minimize program length is to replace
numbers consisting of more than just one digit – like the number 25 in lines 002
and 003 of the program keyed in above – by a : instruction, and then storing
the number in the designated storage register before running the program. In this
case, this would save one program line, since the : instruction requires only
one program line, not two as are required by the number 25. Of course, doing so
uses up data storage registers that you might want to save for other data. As in
many business and financial decisions, there is a trade off involved; here it is
between program lines and data storage registers.
Setting the Calculator to a Particular Program Line
There will be occasions when you’ll want to set the calculator directly to a
particular program line – such as when you’re storing a second program in
program memory or when you’re modifying an existing program. Although you
can set the calculator to any line by using Ê as described above, you can do so
more quickly as follows:
z With the calculator in Program mode, pressing gi. followed by
three digit keys sets the calculator to the program line specified by the digit
keys, and then displays that line number and the keycode of the instruction
stored there.
z With the calculator in Run mode, pressing gi followed by three digit
keys sets the calculator to the program line specified by the digit keys.
Since the calculator is not in Program mode, the line number and keycode
are not displayed.
The decimal point is not necessary if the calculator is in Run mode, but it is
necessary if the calculator is in Program mode.
93


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