50941
91
Zoom out
Zoom in
Previous page
1/218
Next page
Section 8: Programming Basics 91
Program line 007 contains the last instruction you keyed into program memory.
However, if you press Ê again, you’ll see that this is not the last line stored in
program memory:
As you should now be able to tell from the keycodes displayed, the instruction in
program line 008 is gi000.
The i000 Instruction and Program Line 000
Whenever you run the program now stored in program memory, the calculator
executes the instruction in line 008 after executing the seven instructions you
keyed in. This i000 instruction – as its name implies – tells the calculator to
“go to” program line 000 and execute the instruction in that line. Although line
000 does not contain a regular instruction, it does contain a “hidden” instruction
that tells the calculator to halt program execution. Thus, after each time the
program is run, the calculator automatically goes to program line 000 and halts,
ready for you to key in new data and run the program again. (The calculator is
also automatically set to program line 000 when you press fs to set the
calculator from Program mode to Run mode.)
The i000 instruction was already stored in line 008 – in fact, in all program
lines – before you keyed in the program. If no instructions have been keyed into
program memory, if Continuous Memory is reset, or if fCLEARÎ is
pressed (in Program mode), the instruction i000 is automatically stored in
program lines 001 through 008. As you key each instruction into program
memory, it replaces the i000 instruction in that program line.
If your program should consist of exactly eight instructions, there would be no
i000 instructions remaining at the end of program memory. Nevertheless,
after such a program is executed the calculator automatically returns to program
line 000 and halts, just as if there were a i000 instruction following the
program.
If you key in more than eight instructions, program memory automatically
expands to accommodate the additional instructions.
Expanding Program Memory
If no instructions have been keyed into program memory, if Continuous Memory
has been reset, or if fCLEARÎ has been pressed (in Program mode),
Keystrokes Display
008,43,33,000
Program line 008
91


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