EasyManua.ls Logo

HP HP-21 - Direction of Execution

HP HP-21
74 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
T
16.00
Z
30.00
17
Y
11.00
17
is
written
over
the
11 in
X.
X
|
17.
;
iggg
17
and
11
are
added
together
:
and
the
rest
of
the
stack
drops.
Y
30.00
16
drops
to
Z
and
is
also
dupli-
X
28.00
cated
in
T. 30
and
28
are
ready
to
be
added.
T
16.00
30
and
28
are
added
together
Z
16.00
g
v
16.00
and
the
stack
drops
again.
:
Now
16
and
58
are
ready
to
X
58.00
be
added.
T
16.00
7
16.00
16
and
58
are
added
together
:
for
the
final
answer
and
the
Y
16.00
stack
continues
to
drop.
X
74.00
This
same
dropping
action
also
occurs
with
[-],[x],
and
[#].
The
number
in
T
is
duplicated
in
T
and
Z,
the
number
in
Z
drops
to
Y,
and
the
numbers
in
Y
and
X
combine
to
give
the
answer,
which
is
visible
in
the
X-register.
Direction
of
Execution
The
automatic
stack
lift
and
automatic
stack
drop
let
you
retain
and
position
intermediate
results
without
reentering
the
numbers.
This
is
an
advantage
the
stack
has
over
other
data
handling
methods.
Problems
can
be
solved
by
keying
in
the
numbers
in
any
logical
order
you
choose.
You
can
even
key
in
numbers
in
left-to-right
order.
Try
left-to-right
order
with
the
following
expression:
(35
+
45)
X
(55
+
69)
Press
Display
35
IE
The
left-most
number
is
keyed
into
the
X-register.
L
No
operations
can
be
performed
SO
you
press
IEUSGE]
.

Related product manuals