The T 00 Instruction And Program Line 00 - HP -10C Owner's Handbook Manual

Hide thumbs Also See for HP-10C:
Table of Contents

Advertisement

Keystrokes
´‚
´‚
If either the  key or the ‚ key is held down, the calculator displays all
of the lines in program memory. Press  again now, but this time hold it
down until program line 08 is displayed.
Keystrokes
Â
(Release Â)
Program line 08 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:
Keystrokes
Â
As you should now be able to tell from the keycodes displayed, the instruction
in program line 09 is t00.
The t
t
t 00 instruction and Program line 00
t
Whenever you run the program now stored in program memory, the calculator
executes the instruction in line 09 after executing the eighth instruction you
keyed in. This t00 instruction—as its name implies—tells the calculator to
"go to" program line 00 and execute the instruction in that line. Although line
00 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 00 and halts,
ready for you to key in new data and run the program again. (The calculator is
also automatically set to program line 00 when you press ¥ to set the
calculator from Program mode to Run mode.)
The t 00 instruction was already stored in line 09—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 ´CLEARM is
pressed (in Program mode), the instruction t00 is automatically stored in
program lines 01 through 09. As you key each instruction into program
memory, it replaces the t00 instruction in that program line.
If your program should consist of exactly nine instructions, there would be no
t00 instructions remaining at the end of program memory. Nevertheless,
after such a program is executed the calculator automatically returns to program
Section 5: Programming Basics
Display
01-
36
00-
Display
01-
36
⋮ ⋮ ⋮ ⋮
⋮ ⋮ ⋮ ⋮
00-
40
Display
09-
22 00
Program line 01.
Program line 00.
Program line 01.
Program line 08.
Program line 09.
61

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents