Merging Programs - HP 82104A Owner's Handbook Manual

Table of Contents

Advertisement

Card Reader Operations
19
You can also read a private program card using the procedures described
for reading subroutines (page 16) and merging programs (page 19).
Private program cards are just like any other program cards except
that the program on that card cannot be viewed, altered, or re-
recorded onto another card through normal operations. Any
attempt to do so will result in this display:
PRIVATE
Merging Programs
The
(merge program) function is a programmable function that
enables you to read a program from cards into program memory.
is
similar to
exceptthat the location of the calculator in program mem-
ory or the location of the [mrG) function in a program determines where
the card program is placed whenit is read.
In a program,
causes the calculator to first prompt for the program
card with
CARD
If additionaltracks are required to read in the entire program, the HP-41C
prompts you for each additional track with the standard RDY kk OF nn
message.
The complete program, when read, replaces all of the program lines after
the
function (or after the current location of the calculator in the
program) to the end of the program (or beyond the end if the
merged program is longer).
The current program or the program containing the (MrRG] function
must be the last program in program memory. That is, it must end
with the permanent .£/VD. instruction. If it is not, the HP-41C will
show
MRG ERR
and no instructions will be read from the card.
When a programmed (MRG] is completed (that is, when the ([MRG) is
executed by a running program), execution continues with the first
instruction in the merged program. When executed from the keyboard,
the calculatoris left positioned at the current line in program memory.

Advertisement

Table of Contents
loading

Table of Contents