HP -11C Owner's Handbook Manual page 54

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

Advertisement

104
Sectian 6: Program Editing
Now we will use [BST] to insert the last [F](PSE]in our example.
Keystrokes
Display
006-
4231
Current position in
program memory.
004-
4311
(a)
003-
34
9) (BST
002-
4311
Insert the last [PSE]
instruction after this line.
f)[PSE
003-
4231
Inserts (PSE]at
line 004
and "bumps" all
subsequent instructions
downward one line in
program memory.
Keystrokes
Display
(tt)(E)
001-42,21,15
002-
4311
003-
4231
004-
34
005-
4311
006-
4231
007-
40
oos-
4231
o09-
1
010-
4332
~~
we
eee
we
w~
ey
we
wr
YY
a
Section 6: Program Editing
105
Keystrokes
Display
(PAR
Set the HP-11C to Run
mode.
22 (ENTER
22.0000
Side a keyed into the
Y-register.
9
9
Side b keyed into the
X-register.
#(E)
81.0000
Pause to show result of (x7)
(6%) instruction at line 003.
484.0000
Pause to show result of [57]
(a") instruction at line 006.
565.0000
Pause to show result of [+]
(a? + 62) instruction at line
007.
23.7697
The final result, side c (c =
Va? +2).
Inserting
Instructions
in
Longer
Programs.
If all 203
program
lines are occupied, the calculator will not accept any
additional program instructions. If you attempt to insert a new
instruction at any point in program memory with all 203 lines
already occupied, Error 4 will appear in the display and program
memory
will remain
unchanged.
(Refer to appendix
C, How
Automatic Memory Reallocation Operates.)
Deleting
Instructions. Often
in modifying
or correcting
a
program you may wish to delete an instruction from program
memory. To delete an instruction, use [GTO],
[SST], or [BST] to set the
calculator to the instruction, then press the nonprogrammable
operation
[] with the calculator set to Program mode. (When you
delete
an
instruction
from
program
memory
using
[#], all
subsequent
instructions
in program
memory
are
moved
up
(renumbered)
one line. The calculator then displays the line
preceding the line that held the instruction you deleted.)
Example. To modify the Pythagorean Theorem program from the
previous example so that only one pause remains (to display the

Advertisement

Table of Contents
loading

Table of Contents