Deleting An Instruction - HP -67 Owner's Handbook Manual

Hide thumbs Also See for HP-67:
Table of Contents

Advertisement

Program Editing
161
Program initialized.
a
23.77
After reviewing the stack
contents three times dur-
ing the running program,
the answer in meters is
displayed.
Now run the program for a right triangle with sides a and b of 73
miles and 99 miles.
(Answer: 123 miles.)
Deleting an Instruction
Often in the modification of a program you may wish to delete an
instruction from program memory. To delete the instruction to which
the calculator is set, merely press the nonrecordable operation (3
[DEL) (delete) with the HP-67 Program Mode switch wipram [ RUN
set to W/PRGM. (When the Program Mode switch is set to RUN,
pressing
does nothing except cancel a pressed prefix key 3.)
When you delete an instruction from program memory using the
key, all subsequent instructions in program memory are moved
up one step, and a
instruction is loaded into step 224. The
calculator moves to the step before the deleted step and displaysit.
For example, if you wanted to modify the Pythagorean Theorem
program that is now loaded into the calculator so that the stack was
only reviewed once, at the end of the program, you would have to
delete the E)
instructions, keycodes 32 84, that are presently
loaded in steps 002 and 005 of program memory. To delete these
instructions, you must first set the calculator at these steps using
&5,
or @5 () (0 (0) (), then press [ (DEL]. To delete
the )
instruction now loaded in step 002:
First, slide the Program Mode switch wierem [[[[Illlrun to W/PRGM.
Press
Display
.002
002
32 84]
Step 002 is displayed.
o
001
31 25 15|
The instruction in step
002 is deleted and the
calculator moves to step
001.

Advertisement

Table of Contents
loading

Table of Contents