Section 8: Program Editing; The Mechanics; Movingto Alinein Program Memory - HP -16C Owner's Handbook Manual

Table of Contents

Advertisement

Section 8
Program Editing
The HP-16C is equipped with several editing features to help you
alter an instruction or program already stored in the calculator.
The Mechanics
Making a program modification of any kind involves two steps:
moving to the proper line (the location of the needed change) and
making the deletion(s) and/or insertion(s).
Moving to a Line in Program Memory
The Go To ([GT0]) Instruction. The sequence
(-] nnn will
move program memory to line number nnn, whether pressed in
Run mode or Program mode (PRGM displayed.) This key sequence
is not programmable; it is for manually finding a specific position
in program memory. The number nnn must be a three-digit number
corresponding to
an
existing program line in the range
000 < nnn < 208.
The Single Step ([SST]) Instruction. To step through program
memory one line at a time, press
(single step). This
(nonprogrammable) function can be used to trace a program with
or without executing it.
In Program mode,
will move the memory position forward one
line and display that instruction. The instruction is not executed. If
you hold the key down, the calculator will continuously scroll
through the lines in program memory.
In Run mode,
will display the current program line while the
key is held down. When the key is released, the current instruction
is executed, the result displayed, and the calculator steps to the
next program line to be executed. This function is very useful for
tracing the execution of your program, one line at a time.
The Back Step ([BST]) Instruction. To move one line backwards
in program memory, press (9 ](BST](back step) in Program or Run
mode. This function is not programmable.
will scroll (with the
key held down) in Program mode. Program instructions are
not executed.
82

Advertisement

Table of Contents
loading

Table of Contents