HP 9100B Operating & Programming Manual page 71

Hide thumbs Also See for 9100B:
Table of Contents

Advertisement

PROGRAMMING THE
91008
PROGRAM WRITING
A
program is nothing more than a sequence of instructions tell-
ing the calculator what it must do in order to solve a particular
calculation. ln the previous sections of this manual, whenever
an example was to be performed, you, the operator, were 'pro-
grammed'. You were asked to press keys in a g1ven sequence to
view a particular display; (in most cases) if the sequence was
not followed exactly, the resulting display was not correct. ln a
similar manner, the calculator must now be given a sequence
of correct instructions.
As an example, try the following:
Enter three numbers (A, 8 and C) into the calculator
so that A appears
in
the Z register, 8 in Y and C in X;
choose simple numbers, say A==6, 8 :=5 and C:=3.
The display should be:
(A)
6
~
z
(8)
5
~
y
(C)
3
~
X
Now press whatever keys are necessary to solve
A
~
8
[
6
;
5
] . Write down each operation as it is performed;
also write down the effect on each of the three display registers
(the space below is included for this purpose; write the first
operation in step
00
and use
'END'
as the last step).
STEP
Enter the No's.
(+)00
01
02
03
04
05
06
07
08
etc.
KEY
DISPLAY
X
y
z
C(==3)
8(==5)
A(==6)
HA
PROG
61
?

Advertisement

Table of Contents
loading

Table of Contents