HP 9100B Operating & Programming Manual page 76

Hide thumbs Also See for 9100B:
Table of Contents

Advertisement

6
PROGRAMMING THE 91008
I
GA
G AM
CONTINUED
P OGRAM WRITING
(V of the flow chart) d isplay the result and A and 8
:
STEP
KEY
DISPLAY
STORAGE
(address)
X
y
z
(+
)f
(+)e
Oa
t
A
+
B A+B Ax8
A
+
8
8
A
Ob
RCL
8
A
Ax8
8
A
A
+
8
~:<
Oe
END
8
A
Ax8
8
A
+
B
::~
NOTE
The END (or STOP) must be given
, otherwise,
the
program counter wou1d continue to the next address
and perform whatever step happened to be in the
memory.
END is preferable to STOP as it automati-
cally resets the program counter to ( +
)00
ready for
the ,next value of A and 8 to be entered.
A
Here is the complete program; this will be used later in this
section to illustrate program operation (Page
72).
The key
codes have been added.
STEP
KEY
KEY
DISPLAY
STORAGE
(address)
CODE
X
y
z
(+)
f (+)e
(+)00
X -+C
l
23
8
A
01
F
15
8
A
8
02
y-+c
>
40
8
A
8
03
e
12
8
A
8
A
04
X
36
B
A
x
8
8
A
05
t
27
8
8
A
x
B
8
A
06
RCL
61
8
A
A
x
8
8
A
07
+
33
8
A+8
AxB
8
A
08
"'
25
A+8 Ax8
A
x
B
8
A
35
AxB
Ax8
8
A
09
-
A
+
8 A
+
8
Oa
t
27
A
+
B A
+
8
Ax8
8
A
A
+
8
61
8
A
Ax8
8
A
Ob
RCL
A
+
8
.....
Ax8
8
A
8
A
Oe
END
46
A
+
8

Advertisement

Table of Contents
loading

Table of Contents