HP 9100B Operating & Programming Manual page 88

Hide thumbs Also See for 9100B:
Table of Contents

Advertisement

8
PROGRAMMING THE 91008
PROGRAM OPERATION
immediately,
when the
STEP
PRGM key is
used, if
the
con-
dition
is
not met (see CONDITIONAL BRANCHING keys,
Page 83).
As
an example, suppose
the following is part of a program
to be edited in the RUN mode:
STEP
KEY
- -
.
.
.
-
.
.
. .
(+)03
+
.
.
-
- -
-
.
.
. .
08
IF
X=y
09
0
Oa
3
Ob
X
When
STEP PRGM 1s pressed at step 08, if the number in
the
X
register 1s equal to the number
in
the
Y
register
then, as would be expected, the STEP PRGM must be
prgssed
at steps
09
and
Oa
before the .program counter
goes to address
03.
lf the numbers in
X
and
Y
are not equal, then, when STEP
PRGM is pressed at step 08, the program counter auto-
matlcally goes to step
Ob
and multipl1es the numbers in
X
and
Y.
The other
'IF'
keys operate
in
the same way.
EXAMPLE:
edit the : ;
~
program (Page
66)
in the RUN mode:
address the program counter
SWITCH:
RUN
PRESS:
or
GO TO
(
)(
}
PRESS:
END
enter data
+
0
PRESS:
any d
igit
keys
for
A.
PRESS:
t
PRESS:
any d
1git
keys for B.
0
I
j

Advertisement

Table of Contents
loading

Table of Contents