HP 9100B Operating & Programming Manual page 96

Hide thumbs Also See for 9100B:
Table of Contents

Advertisement

86
PROGRAMMING THE 91008
. ' ,: ...
IF
··
. .
: : .
x
·
<
· .
Y
. ·
:~;.·:
...
~-:
:·· .
-.-'.
.
CONTINUED
PROGRAM KEYS
-
CONDITIONAL BRANCHING
FLOWCHART:
EnterN
._
-------------,
(N
=
2:
n)
enter 100
Add
(l:n
+
N)=l:n
PROGRAM
to run,the program press END (ftrst time only) enter N
and
press CONT.
STEP
<+)
00
01
KEY
t
t
02
ENTER EXP
03
2
04
ROLLt
,----,. 05
PAUSE
06
IF
X
<Y
07
0
os
a
09
END
oa
RoLLt
Ob
+
Oe
ROLL
t
Od
GO TO ( ) ( )
10
0
'---11
5
KEY
CODE
27
27
26
02
22
57
52
00
13
46
22
33
31
44
00
05
DISPLAY
X
y
z
N
N
N
N
(N)=L
n
1
N
L
n
100
N
l:n
Ln
100
N
2:
n
100
N
2:
n
100
N
2:
n
100
N
Ln=~!L- N---- 1~ 0~
0
------
N
~l
t
N
Ln
100
N
(L
n
+
N
)=L
n
100
2:
n
100
N
L
n
100
N
L
n
100
N
2:
n
100
N
~:~
flashing display
t
f inal display
At
step
06
,
if
L
n
ts less
th an 100
the condttton
tested
is met,
the progra
m contin
ues
to step 07 and 08 and
, as these
contain
an addre
ss,
it bran
ches
to step (
+
)Oa
.
When
L:n ts not less
th an 100
(r.e.
L:n
==
L:
N 2:
100)
the cond it ion
ts
not
met;
steps
07 and 08
are
ski pped and
the
tn struction tn 09 ts
ex·
ec uted .

Advertisement

Table of Contents
loading

Table of Contents