HP 9100B Operating & Programming Manual page 109

Hide thumbs Also See for 9100B:
Table of Contents

Advertisement

PROGRAMMING TH
91008
ADDITIONAL PROGRAMMING
Here are some guidellnes to efficient use of the memory.
NOTE
Program steps and data cannot both be stored at the
sametime tn one register.
Data stored on the (
+
) page requires less steps to
store and recall than does data stored on the
(-
)
page.
The (-+-)eand
(+
)Fregisters are used only for data
storage.
The contents of (
-+-
)e and (
+
)F
[
and the X, Y and
Z] registers cannot be recorded on a magnetic card.
1)
Generally,
start program steps at address (
+
)00 and
se-
quentially fill the (
+
)
page;
then continue wtth address
(-
)00 and fill the
(-
) page.
2)
Start data storage on the (
+
) page; fill register (
+
)fto
(+
)a,
in that order.
Next,
use the ( )fand (
)e
registers
before storing data in the (
+
) numeric
registers,
(
+
)9,
(
+
)8, -
-
-
etc.
Reserve the (
+
)e
and (
t-
)f registers
,
when
appllcabte,
for use with the
ACC+,
ACC
·
and RCL instruc-
tions.
3)
lf a program requires a complete page for data
storage,
sta rt the steps at add ress
(-
)00 and reserve the (
+
) page
for data storage.
4)
When program steps do not leave sufficient memory space
for data storage, use a 'destructive' routine
.
ln this
case,
program steps whtch will be required only once during the
program, can be started at (for example) address
(+ )aO.
After these steps have been used, the registers containing
them can then be used for data storage.
This technique requires recording the program on a
magne-
tic card, the steps are reinserted into the memory each
ttme the program is to be run.
5)
'Cascading magnetic cards' is a variation of the destructive
routtne used when programs too large for the memory are
required.
ln this case the first part of the program is entered from
the keyboard and recorded; this is repeated with the next
part of the program, and so on, until the complete program
1s recorded on a series of cards. The first card is
re-enter-
ed and that part of the program run; this is repeated with
the remaining cards until the program is completed
.
Care must be taken to ensure that, as each card is entered,
data stored in the registers is not
destroyed.
The END
in-
struction may be used, this will stop the card reader at the
EFFICIENT
U
OF THE MEM
99

Advertisement

Table of Contents
loading

Table of Contents