Setting The Calculator To A Particular Program Line - HP 12C Platinum Owner's Handbook Manual

And problem-solving guide
Hide thumbs Also See for 12C Platinum:
Table of Contents

Advertisement

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:
llocated program lines
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
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:
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.
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.
Section 8: Programming Basics
vailable storage registers
through R
– available for data storage.
0
6
93

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents