Abbreviated Key Sequences; Program Control Functions; User Mode - HP -11C Owner's Handbook Manual

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

Advertisement

7E8
Section 5: Programming Basics
three elements, depending upon whether the instruction required
one, two, or three keystrokes.
Each
element in a keycode is
composed of two digits that describe the row/column
matrix
position of the key represented by the element (except numeric
keys, which are represented by a single digit element).
Line
Number} ———¥
Abbreviated Key Sequences
In Run or Program modes, the [f) prefix keystroke you would expect
to include in the keystroke sequences for some instructions is not
needed. (An unnecessary [f} prefix keystroke pressed as part of a
program
instruction will not appear in the keycode for that
instruction.) For example, pressing
will produce the
same results as pressing (STO][f] (RAN#). References to other keys
that can be used in abbreviated key sequences are included in the
appropriate sections.
Program Control Functions
Program/Run.
Pressing
[@](P/R]
switches
the
calculator
between Program
and Run modes. When
the calculator is in
Program mode, the PRGM annunciator appears in the display and
program instructions can be inserted or deleted. In Run mode
either programs stored in program memory or individual keyboard
functions can be executed.
Clear Program Memory. Pressing [f) CLEAR [PRGM]in Program
mode clears all programs from Continuous Memory and auto-
matically
reallocates Continuous
Memory
to 21 data storage
registers and 63 lines of available program memory. Pressing
[f
CLEAR
in Run mode resets the calculator to line 000 but does
not clear program memory.
wwe
eww
we
wee
Ve vw
Section §: Programming Basics
7
Go to Line 000. Pressing [GTO] [7] 000 in Program or Run mode
sets the calculator to line 000 (top of program memory).
Labels. The HP-11C's labels are addresses for programs, program
branches, and program subroutines, The alpha labels ({A] through
) and the numeric labels (0 through 9) are keyed into program
memory
by pressing
[f] [LBL] (label) and the desired alpha or
numeric
key. With
the calculator
in Run
mode,
a program
addressed by an alpha label is executed by pressing the
[f) shift key
and the label key. Labels 0 through 9 can also be used to address
programs,
but are usually reserved
for program
subdivisions
(branches and subroutines). Numeric labels can be executed by
pressing (GSB]and the desired number key.
Return. The
(return)
instruction,
when
used to end
a
program, causes program execution to transfer to line 000 and halt.
im]
Run/Stop.
When
encountered
in
a running
program,
[R/S
(Run/Stop) causes program execution to halt. When a program is
halted, pressing [R/S} causes program execution to begin with the
line of program memory the calculator is currently positioned to.
Pause. When
[f)[PSE]/pause) is encountered in a running program,
execution halts temporarily (approximately one second) to allow
viewing of the number
currently in the displayed X-register.
Program execution then resumes.
User Mode
User mode is a convenience feature you can use to save keystrokes
during program operations. Pressing [f]
exchanges the
primary math and the alternate [1] prefix alpha key assignments
on the calculator's top row keys. While [USER] mode is set, the USER
annunciator appears in the display.
(User)
0.0000
USER
prefix =<.
A
B
Cc
D
E
Primary
wy)
&)
10"
ical
17x
9] prefix——————>_
x?
LN
LOG
%
A%
In Run mode, this exchange enables you to execute any programs
labeled
through [E] by pressing only the appropriate alpha |

Advertisement

Table of Contents
loading

Table of Contents