Helwett Packard 9100A Owner's manual

m HEWLETT-PACKARD CALCU
AT
Model
9100A
' '

.,
""""""'
HEWLETT''
PACKARD
WARRANTY
AND
ASSISTANCE
Th
e He
wl
e
tt
-P
ac
kard 9100A Calc
ulator
is warranted a-
ga
inst def
ec
ts in ma
ter
ia
l and wor,kmans
hip
. This warranty
applies
for
o
ne
y
ea
r from the date of delivery
for
calcula-
tors return
ed
to the
ne
arest HP field office.
We
will repair
or repl
ace
pa
rts which prove
to
be
defective
during
the
warran
ty
period. No other warranty is expressed
or
im-
plied.
We
are not liable for consequential damages.
For any assistan
ce
co
ntact your n
ea
rest Hewlett-Packard
Sales and Service Offi
ce
. Addresses are provided on
pages
32
and
33
of
this manual.
•
•

•
OPERATING
AND
PROGRAMMING
HEWLETT
PACKARD
9100A

4
GENER
AL
DESC
RIPTION
J
This section contains general informati
on
about the Model
9100A
.
In
cluded is a discussion of calculator perfor-
mance c
he
cks, accessories supplied with the Model
9100A,
and information concerning
se
rvicing.
The Hewle
tt
-
Pa
ckard 9100A Calculator is a scientific desk-
top calcula
tor
. Trigonometric and logarithmic functions
are
ca
llculated with a single keystroke. The Model 9100A
is programmable; conditional branch instructions provide
complete programming capability.
In
addition, two pro-
grams can
be
recorded
on
each magnetic card supplied
with the
91
00A.
The Calculator
has
two memory systems.
One
is a unique
Hewle
tt
-
Pa
ckard
Read
-Only-Memory. It contains the sub-
routines necessary
to
execute the keyboard instructions
and to calculate the trigonometric and logarithmic func-
tions. ..
The 9100A also contains a magnetic core memory which
adds the storage and programming features. There are
19
accessible registers in the magnetic core memory: three
are displayed, two are only for data storage and 14
can
be
used
for
program storage
or
for
additional data storage.
The
14
program registers can accommodate up to 196
program steps.
Three registers are displayed
on
the cathode ray tube;
they are designated x
KEYBOARD
, y
ACCUMULATOR
and
z TEMPORARY. The format
of
the display can
be
selected
on
the keyboard. With Floating Point notation, the contents
of
the registers are displayed
as
a ten-
digit
number and a
two-
digit
exponent, indicating the power
of
ten multiplier.
This mode
of
display allows simultaneous presentation
of
very large (up
to
10
99) and very small (down to 10"98)
numbers. With Fixed Point notation, the contents
of
the
registers are displayed in decimal format, with the num-
ber of digits
to
the right
of
the decimal
(0
to
9) set by the
decimal thumbwheel. Regardless
of
the display mode
selected, the 9100A operates in Floating Point calculat-
ing all answers to
12
digits,
of
which ten are displayed.
'
•

•
t
The calculator
was
carefully inspected both mechanically
and electrically before shipment.
It
should
be
physically
free
of
mars
or
scratches and
in
perfect electrical order
upon receipt. To confirm this, the calculator should
be
inspected
for
physical damage in transit. Also check
for
supplied accessories listed in Table 1(page6), and test the
electrical performance of
the
calculator .
A magnetic program card loaded with the D
i-
agnostic Program (See page
28
, for
an
explana-
tion) is in the pocket
on
the rear cover of the
Program library. To enter the program:
SET:
SET
:
RUN
SET
:
RADIANS
SET
:
PRESS:
GOTO 0 0
C
IC
I
Be
sure magnetic card is fully inserted in the card reader
with the printed side
of
the card toward the keyboard.
PRESS:
PRESS
:
ENTER
C
0
N
T
I
N
u
E
Execution
of
the program (indicated by a flash-
ing display
of
X= 3., Y= 2.
000000
and Z = 1.)
ensures
that
the 9100A
is
operating
co
rrectly.
If
the calculator is damaged
or
an
electrical deficiency is
indicated, file a claim with the carrier
or
refer to the war-
ranty on the inside
front
cover of this manual.
CAUTION
USE
A
SOFT
CLOTH
TO
CLEAN
THE
DISPLAY
BEZEL
AN
ABRASIVE
MA-
TERIAL
WILL
SCRATCH
THE
SUR-
FACE.
INITIAL
INSPECTION
5

6
POWER
RE
QUI
REMENTS
•..
::.
OU
NDI
NG
::
:::
~U
IR
EM
ENT
S
ACCES
SORI
ES
~f•
UIPM
EN
T
SUPPLIED
SERVICE
CONTRACTS
Th
e Model 9100A requires either 115 or 230 volts
ac
±
10
% ,
50
to
60 Hertz and
400
Hertz and requires less
th
an
70
watts of power. With the calculator disconnected
from the ac power source, slide the line voltage switch
on
the rear panel until the line voltage
to
be
used appears.
CAUTION
DO
NOT
APPLY
OPERATING
POWER
TO
THE
91OOA
CALCULATOR
UN-
LESS
THE
LINE
VOLTAGE
SWITCH
ON
THE
REAR
PANEL
IS
IN
THE
PROPER
POSITION.
OTHERWISE,
DAMAGE
TO
POWER
TRANSFORMER
MAY
RESULT.
To
pro
te
ct operating personnel, the National Electrical
Manufacturers' Associati
on
(NEMA) recommends
that
the
calcula
tor
keyboard and cabinet
be
grounded. The calcu-
lator is equipped with a three-conductor power cable
wh
ich. when plugged into
an
appropr
ia
te receptacle,
grounds the cabinet
of
the calculator. The round pin
on
•
the power cable three-prong connector is the ground
con
-
nection.
The accessories and equipment supplied wi
th
each Model
9100A a
re
listed in Table 1.
PART
NO
.
TABLE
1
Accessories/Equipment Supplied
QUANTITY
DESCRIPTION
09100
-90001 2 Operating and
Pro-
1-
-gramminl! Manual
Program Librarv
09100
-
90002
1
09100
-
90003
1 Proeram
Pad
09100
-
90004
1 Magnetic Program
Card Loaded with
Diaenostic Prol!ram
4040
0350
1 Dust Cover
5060
. 5919 1 Magnetic Program
I Card Container with
Ten
Proe:ram
Cards
8120
0078
1 Power Cord
I
9320
1157 1 Pull-out Instruction
in
Card contained
the bottom .of the
9100A
A
box
of
five program pads (Part
No
. 09100.-90000) is
available.
Service contracts are available
for
the 9100A Calculator.
For furthe·r information contact your local Hewlett-Packard
Sales and Service office.
(See
pages 32 and
33
for
office
locations.)
,
I
1
•
I
l

•
•
t
KEYBOARD
Switches
ac
line power to the Calculator. Application
of
ac line power lights the register designators at the right
of
the cathode ray tube.
Selects the entry and display units
for
the
tr
igonome
tr
ic
functions.
Selects the mode
of
operation.
RUN:
used to perform calculations, address the pro-
gram counter and execute a program.
PROGRAM:
used to enter a program from the keyboard
and verify a program.
Selects the mode of display.
FLOATING
DECIMAL
POINT:
the display consis
ts
of
a ten-
di
git
number and a two-
digit
exponent, indicat.
ing the power
of
ten
multip
lier.
NUMBER DISPLAY
12
,
345
.
67898
=
1.234567898
x
10
4 U31./
56
7
89B
01./
FIXED
DECIMAL
POINT
: the number is displayed with
th
e
decimal point correctly lo
ca
ted. The decimal
whe
el sets the number of places
to
the right
of
the decimal point. The least significant
digit
is
rounded.
If
the number overflows to the left
of
the
decimal point,
th
e display
for
the overflowed
register reverts
to
floating decimal point.
DECIMAL WHEEL SETTING DISPLAY
I 2 3
1./
5.6 789B ·
_12
3
'15
.6
7J.
t
Leading Zeros
Blanked
t
L
as
t Digit
Rounded
Numb
er
too large
for
th
is
se
tting
• automatically
s
hift
s
to
floating decimal
point.
T_h7error light indi
ca
tes an illegal operation such
as
di
-
~1s1on
by
0
.,
.~ .
sin-
1x (/K
l>
1),
In
x (x <O).
An
illegal
operation
during
program executi
on
will
not
s
top
the
program
.
7
--
i·li
rl
M
¼i
i
iLHMffl
HMdMtl
m
NH.Ydii#i
iif:id

8
II
a
a
•
NUMBER
ENTRY
Cl
ea
rs
th
e X, Y, Z, e and F registers (0.
~
X,Y,Z,e and
F)
. Clears the
FLAG
and clears the
AR
C and
HYPER
co
nd
i-
tions.
Clears
th
e X register (0.
~
X). Clears the
ARC
and
HYP
ER
conditions. It is not
ne
cessary
to
press
CLEAR
x
before each entry.
Changes
th
e sign
of
the contents of
th
e X r
eg
ister.
Changes the sign
of
the exponent
if
ENTER
EXP
wa
s
pressed.
Se
ts
th
e decimal point.
It
is not
ne
ce
ssa
ry
to
enter the
decimal point
wh
en entering integers
or
when using the
ENTER
EXP
key.
Cle91s the exponent and causes the next digit entries (0
to
99
) and
CHG
S
IGN
to affect only the·exponent. The
expone
nt
digits are entered in a
se
rial manner, wi
th
each
new d
ig
it
en
try
becoming the
lea
st sig
nifi
ca
nt
digit
of
the
expone
nt
.
CLEAR
2
ENTER
EXP 1 0
0.
0.
l.
00
00
10
Pressing
ENTER
EX
P after any keyboard operation, except
digit
en
try, will e
nt
er 1.0
for
the number in
X.
CLEAR
ENTER
EXP
CHG
SIGN
0.
DO
6 a
oo
,.
000 000
000
-
06
ALL
KEYBOARD
ENTRIES
ARE
DISPLAYED
IN
THE
X
REGISTER
.
SET
:
0.
D.
l.r6.1 B
•

•
NUMBER
ENTRY
9
SET:
FLOAT
ENTER: -
39
,
800
= - 3.
98
X
10
4
8
0.
00
0. 00
-3.980 0
01./
CHG
ENTER
4
SIGN
EXP
SET:
De
cimal
wh
eel to 4
ENTER: .
0094
0.
9
ENTER
3 0.
EXP
.0091./
CHG
or
SIGN
t 0 0 9 4
SET:
SET:
De
ci
mal
wh
eel to 4
ENTER:
128
.0167
2 8 0.
0.
6 7
Ir
fl
.0 I 6 1
SET:
De
cimal wheel
to
3
0.
0.
I
iB
.O
11
SET:
De
cimal wh
ee
l to 8 0.
0.
l.rB0 161
Or
- 4x
10
-12
o.
OD
o.
OD
·'I.
-u

10
CONTROL
KEYS
l
he
Con
tr
ol Keys r pos1t
1o
n the cont
en
ts of
th
e displayed registers
as
req
ui
red
for
succeeding
calculations ,. , a
nci
:
re
f r to
th
e conte
nt
s of X. Y
an
d z.
II
II
II
z
£l
)' y
X X
z
---z
y
x:y
x
_..,
X
Duplicates the contents of Xto the Y register and shifts the
contents of Y to the Z regis
ter
. Loses the contents of the Z
register.
t
"·
3.
3.
Dupl
ic
at
es
the co
nt
ents of Z
to
the Y register and shifts
the cont
en
ts of the Y register to the X register.
Loses
the
c
on
t
en
ts
of
the X register.
t
6.
6.
5.
Shifts the contents
of
X to the Y regis
ter
, shifts the
con-
tents of Y to the Z register and shifts the contents
of
Z
to
the X regis
ter
.
3.
J'l/6
0.
9.
Shifts the
coJ1tents
of
Z to the Y register, shifts the con-
tents
of
Y
to
the X register and shifts the contents of X
to
the Z register.
7 I.
Q.
i.
Exchanges the contents
of
the X and Y registers.
The
contents of Z are unchanged.
I
It
)
•
1
•
:
1
~

•
ARITHMETIC
KEYS
The arithmetic
keys
operate
on
the X and Y registers, entering
th
e result of the
ca
lculati
on
int
o
the Y register and leaving the X register unchanged.
Adds the contents of the X register
to
the contents
of
the
Y register. The sum is entered into the Y register and the
X register is unchanged.
8 +4 =
12
---+ Y
0.
I e.
Y.
6 + 7 + 4 =
17---+
Y
t 0.
6 7 I
7.
Y.
Subtracts the contents
of
the X register from the contents
of
the Y register. The difference is entered
into
the Y
register and the X register is unchanged.
17-9
=
8---+Y
9
47
-19 - 8 + 5 =
25---+
Y
0.
8.
!J
,
D.
lS.
5
II
II
11

12
a
ARITHMETIC
KEYS
Mu
lt
ip
lies
th
e conte
nt
s of the Y register
by
th
e co
nt
e
nt
s
of
th
e X register. The product is entered into
th
e Y
regist
er
an
d the X register
is
unchanged.
9 X 7 =
63
~
Y
t 0.
CLEAR
9 7 X
63
.
00
7.
3 X 5 X 4
-:-
8 =7.5
~
Y
3 t
CLE
AR
0.
7.50
4 . B.
X 8 -
.
I
Div~d
es
th
e contents of the Y
re
gister by the c
on
t
en
ts
of
•
th
e X register. The quotient is
en
tered into t
he
Y
re
gis- •
ter and the X regis
ter
is unchanged.
36
-:-
4 =9
~y
t
CL
EAR
3 6 4 0.
9.
00
'I
.
72
-:-
6
-:-
3 +9 =13
~
Y
EXAM
P
LE
(3 X
4)
+
(6
(8
X
2)
-
KEY
STEP
3
.,_
+
8--
4 g.;._
..
,c;
10-
6 l h
,
1~
-
9)
6
KEY
9
-
a
/3
.
00
9.
=
.9~
y

•
t
CONTROL-STORAGE
The Storage and Recall Keys provide
ac
ce
ss
to
the
16
storage registers: 0, 1, 2, 3. 4. 5. 6. 7. 8.
9.
a.
b, c, d,
eand
F.
It
is not necessary
to
clear a regis
ter
be
for
e storing a number;wrrteoverthe previously
stored number.
Stores the contents
of
X in the regis
ter
indicated by
th
e
following keystroke: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a. b,c, d.
e orF. The contents of the X register are unchanged.
Stores the contents
of
Y in the register indicated
by
th
e
following keystroke: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. a, b,c, d,
e
or
f.
The contents of the Y register a
re
unchanged.
CONTROL-RECALL
Press a,b.c, d,e or F
to
re
ca
ll the
co
ntents
of
that
regis-
ter
to
the X regis
ter
. The contents
of
a. b,c,d. e or F are
unchanged.
They:,
ikey must
be
used to recall
th
e con-
tents
of
the numeric register
s.
Pressing only 0, 1, 2, 3, 4,
5, 6, 7, 8, 9 will not recall the contents of that
re
gis
ter
to
the X register, but will enter
that
digit
in
th
e X regis
ter
.
Recalls the contents
of
F and e
to
the X and Y registers.
The contents of Fand e are unchanged.
CONTROL-STORAGE
AND
RECALL
Exchanges the contents
of
Y with the co
nt
en
ts
of
the regis-
ter
indicated by the following
key
s
tr
ok
e:
0, 1, 2, 3, 4, 5, 6,
7, 8, 9,a,b,c,d,e orF. This is the only instruction
th
at
recalls the contents
of
a numeric s
tor
age register.
0.
9.
I.
0.
,.
I
,,.
a %-+I I
o.
I.
I.
3
II
II
II
13

14
i·BriM!i
i@·IW~I
II
II
II
II
ti
FUNCTION
KEYS
.,
Selects the entry and display units for the trigonometric
functions.
To
convert from DEGREES (RADIANS)
to
RADIANS
(DEGREES):
1) S
ET
: DEGREES (RADIANS)
2)
ENTER
: DEGREES (RADIANS)
3)
PRESS
:
sin.r
, cos.r ,
tan.r
4)
SET
: RADIANS (DEGREES)
5)
PRESS
:
a~c
sin
x,
cos.r .
or
tan
.r
; answer in RADIANS
(DEGREES) is e
nt
er
ed
into the X register.
lnv
ersE!
trigonometric functions are calculated for the prin-
cipal value of
th
e function.
0= s
in
-1
x;
-
90
°5
0
5+
90
°; ( -
3/
25 8
5+
3/
2)
8= cos -1
x;
0
•5
e
~+
1so
•;
(0
~
e
~
17')
0= tan -1
x:
-
90
•~ 0
~+
90°; ( -
1r
; 2
~
e
~+
3/
2)
EXAMPLE
sin
+135
°. =
+.7071;
sin•1 + .7071 =
+45.
0
•
Rep~ces the contents of the X register with the Sine
of
the •
contents
of
X.
·
WJ
Replaces the contents of the X register with the
Cos
ine of
the contents
of
X.
Replaces the
con
tents of the X register with the Tangent
of
the contents
of
X.
Prefix used to calculate the inverse trigonometric and
hy-
perbolic functions. The answer is entered into the X regis-
ter. 1
Prefix used
to
calculate the hyperbolic (sinh, cosh, and
tanh) functions. The answer is entered into the X register. 1
EXAMPLE:
sinh-1 2 = 1.
4436
CORRECT
sinh-1 2
~
X
INCORRECT •
. . 1 2
_____,,_
ERROR
5
in
-
_,.,,
LIGHT

t
t
FUNCTION
KEYS
Replaces the contents
of
the X regis
ter
with the square root
of
the contents
of
X.
Replaces the contents
of
the X register with
th
e logarithm
to
the base e of the contents
of
X.
Replaces the contents
of
the X register wi
th
e
ra
ised to
th
e
power defined by the contents
of
X.
Replaces the contents of the X regis
ter
with the logarithm
to
the base
10
of the contents of X.
Integer X. Eliminates the decimal part of
th
e contents of
the X register. Enters the integer into the X register.
0.
0.
5.
Absolute
va
l
ue
of
Y. Sets the contents
of
th
e Y regis
ter
positive.
Enters pi into the X register.
o.
5.
-5.
15
II
II
II
II
a
•
•

16
a
II
VECTOR
KEYS
Conversion
from
rectangular
to
polar
coordinates will cal-
culate the angle, 9, in the range:
-
180
° < 9 ~ +
180
°
-7Tradians < 9
~
+
1T
radians
Changes rectangular coordinates consisting
of
an
x com-
ponent in the X register and a y component in the Y regis-
t
er
to
polar
coordinates:
,,
CLEAR
TO
POLAR
An
gle
(9)
=
Tan-
1 y/ x
~
Y
Rad
ius (R) =
✓
x2 + y2
~
X
SET
:
DEGREES
t
--
--
-
--------
-
y
I~
4
--
x--
CHG
SIGN
t 3
0.
-53./301
5.
Changes polar coordinates consisting of a radius (R) in the
X register
at
an angle
(9)
in
the Y register
to
rectangular
coordinates:
y component = R x Sin 9
~
Y
x component = R x
Cos
9
~
X
I
•

•
I
VECTOR
KEYS
A
CC
UMU
LA
TE
+: Adds the contents of the X and Y regis-
ters
to
the contents
of
t
he
F and e registers respectively.
Th
e sums are entered i
nto
the Fand e registers. Fand e
are cleared with t~e C
LE
AR ins
tru
ctio
n.
F
+X
--+F
e +
Y-.+e
A
CCUM
ULA
TE
- : Subtracts the co
nt
ents of the X and Y
r
eg
isters from t
he
contents of
th
e f a
nd
e registers re-
spec
ti
v
el
y. The
di
fferences are
en
tered into
th
e f and
e register
s.
f - X
--+f
e -
Y--+
e
Recalls the co
nt
en
ts of
th
e F
an
d e regist
er
s to t
he
X and
Y
re
gis
ter
s
re
specti
ve
ly. The cont
en
ts of f and e are un-
changed.
CLEAII
F--+
X
e--+
Y
t
2
0.
'I.
-r.
C
-H
G
SIGN
ACC
ACC
1 +
RCL
ACC
+
0.
0.
o.
RCL
EXAMPLE: Vector Addition
(2x
+3y) + (4x +5y) -
(3x
-6y) =
3x
+ 14y
1'EP
KEY
STEP KEY STEP
KEY
1-
ClEAII
6-
5
11-
CHG
SIGN
2-
3
7-
+
12-
+
3-
+
8-
4
13-
3
4--
2
9--
ACC
+
14--
ACC
-
5--,:
ACC
+
10-
6
15-
RCL
EXAMPLE: Mu
lt
ip
lication
of
c
omp
lex numbers (
j2
= - 1)
(3
+
j4
) ( - 2 j3) = -
18
+
jl
ICEr S:rEP
KEY
STEP
KEY
ftlAI
7-
ACC
-f'"
13-
In%
4
8-
3
14--
ACC
+
t
9-.-
+
15-
RCL
I
16'-
2
16-
es
11-
C
HI
..
GN
17-
TO
RE
CT
I.AA.:=-
TO
PG
LAII
17
II
•
II

18
PROGRAMMING
Th
e Hewle
tt
-P
ac
kard Model 9100A h
as
a maximum capa-
city of
196
program step
s.
The 0, 1, 2, 3, 4, 5, 6, 7, 8,
9, a,b. e, and d regis
ter
s c
an
be us
ed
for ei
th
er program
or data stor
age
. The X, Y and Z regis
ter
s are the display
registers and the e and F
re
gisters are
on
ly data storage
register
s:
th
ese
fi
ve
registers cannot
be
used
for
program
storage.
Program stor
ag
e consists of a
14
by
14
array (
see
Figure
1). The registers are designated 0. 1, 2, 3, 4, 5, 6, 7, 8,
9,a,b, e, and d as a
re
the characters in each register.
Memory addr
ess
e2
indicat
es
the e regis
ter
and character
2 in
th
e e register.
A program is stored so
that
th
e regis
ter
with the starting
address
of
th
e program is filled with the program steps
be
-
fore t
he
next
se
q
ue
ntial register is entered to store pro-
gram steps. Wi
th
the
fir
st program step in location 00,
program storage will
be
used in the following manner: 00,
01,
...
09
,
Oa
,
Ob
,
Oe
, Od,
10
,
..
. 19,
la
,
lb
,
le
,
Id,
20
...
up
to
de
, d d, the address
at
which the program
co
4r;it
er r
es
ets to
00
.
It is
not
n
ec
es
sary to learn a program language
for
the
Cal
cu
lator. Keyboard operations are the program instruc-
tions.
Ea
ch program step is one keyboard instruction.
Programs that require more storage than
thee
and Fregis-
ters necessitate use
of
a register that could
be
used
for
program s
tor
age. A complete register is required
for
s
tor
ing a ten-dig
it
number and the two-di
git
exponent;
th
erefore, the maximum program
si
ze
of
196 steps is
re-
duc
ed
by
14
steps
for
each program register us
ed
for
data
storage.
CHARACTER
0
1
2
3
4
5
6
0:: 7
LM
~
8
ffi
:
0:
b
C
d
e
F
-·x
y
z
o 1 2 3 4 5 6 7 8 9 a b e d
2e
Program or Data Storage
lc2
Data Storage
Display
Figure 1
•

•
I
PROGRAMMING
Selects the mode of operation.
RUN:
used
to perform calculations, address the program
counter and execute a program.
PROGRAM:
used t9 enter a program from the keyboard
and verify a program.
Causes
an
unconditional branch to the program address
entered by the next two keys
tr
ok
es
or
by
the next two pro-
gram step
s.
Each
program step can be only one keystroke.
CORRECT
INCORRECT
STEP
KEY
STEP
KEY
29
2a
2b
GOTO
C
11
I
5
C
29
GOTO
( l ( I
2a 5 C
2b
Starts program execution
at
the present address.
If
the
program has
ha
lted execution at a S
TOP
instruction,pre
ss
-
ing CONTINUE will st
art
program execution wi
th
the next
program step.
If
the program h
as
halt
ed
execution at
an
END
ins
tru
ction, pressing CONTINUE will start program
execution
at
program step
00
. CONTINUE
ca
n also be
used as a 'no operation' program step.
See
the program
for
N!
, page 26.
Halts program execution and c
au
ses
a return to
th
e dis-
play mode. The
STOP
ins
tru
ction provides
an
uncondi-
tional halt of program execution
for
en
try of data or dis-
play
of
re
su
lt
s.
Pressing CONTINUE begins program
execution with the next program step. Pressing
STOP
during execution
of
a program will cause
th
e program to
stop execution at the present program step and w
ill
cause
a return
to
the display mode.
Pre
ssing CONT
IN
UE
will
begin program execution with the next program step.
U
se
the
STOP
instruction
to
enter data. With the
pr
og
ram
at a
STOP
or
END
ins
tru
ction any keyboard operation can
be manually executed, provided
th
at no data is stor
ed
in
a register co
nt
aining program steps. Storing data in a
regis
ter
containing program steps will des
tr
oy the program
steps in that register.
Halts program execution and c
au
ses
a re
turn
to
th
e
display mode. The
in
s
tru
ction resets the program counter
to
00
so
that
pre
ss
ing CONTINUE begins program e
xec
u-
tion
at
step
00
.
END
must
be
the last ins
tru
ction in a program. Reading
the
END
instruction from the magnetic
ca
rd stops the
reading proce
ss
and resets the program cou
nter
to
00
.
19
HMri@ti
m
•
II
II

20
II
II
PROGRAMMING
PROB
L
EM:
Write a program to
so
lve
AA
~ :
for
any A and B.
STEP
KEY
X y z F e
00
CLEAlt 0 0 0 0 0
Cl
ea
r display & e&F.
01
STOP
A B Stop to enter A & B.
02
%-+l
I
03
e A Store A and B.
04
J-+C
I
05
-F
A B 0 B
06
X AxB
07
...
A
AxB
Move AxB to Z
to
calculate A + 8.
08
-F
B
09
+
A+B
Oa
ROLL"' A+ B
AxB
B
Po
sition AxB and
Ob
.
AxB
A+B
to
calculate
-
A+B
. quot
ien
t.
Oc,,
ROLL
,t-
B A+B:~~
Od
x:,y B
10
e A
11
END A B
AxB
A+B
Final Display
See
ENTERING A
PROGRAM
·
FROM
THE
KEYBOARD
(Page
24)
. A blank register indicates the contents of the
register are unchanged from the previous step.
Ca
uses a brief display before continuing with execu·
tion
of
the program.
If
the
PAUSE
key
is held
de-
pre
ss
ed
dur
ing execution
of
a program, a
STOP
will occur
at the next
PAUSE
instruction in the program.
Pressing
CONTINUE will begin executi
on
with the next program
step. Use successi
ve
PAUSE
instructions
for
a longer dis-
play.
This instructi
on
single-steps the program. The display
will depend upon the mode of operation:
PROGRAM
or
RUN
. This is the only instruction
that
cannot be a pro-
gram step.
PROGRAM:
Single-steps the program, displaying in X
the program step address and the code of the
instructi
on
in that program step.
EXAMPLE:
5.
'I.
I.a---------
S'I
Program step
12
contains the
SET
FLAG
instruction; its
code is 54.
•
Table of contents
Other Helwett Packard Calculator manuals