EasyManua.ls Logo

HP HP-25 - Editing and Correcting Programs

HP HP-25
131 pages
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...
Proar
ammir
JU
rogrammit
around
the
following
step,
which
can
contain
an
unconditional
branch
or
a
simpler
instruction
(I
for
example).
The
pro-
gram
makes
a
decision
for
you!
Conditional
Test
YES
Program
execution
branches
around
one
step
if
the
answer
to
the
testis
NO.
The
eight
different
conditionals
in
your
HP-25
are
shown
here.
In
each
case, the
tests
are
made
on
the
10-digit
numbers
and
two-digit
exponents
actually
stored
in
the
stack
registers,
not
on
the
displayed
values.
QB
tests
to
see
if
the
value
in
the
X-register
is
less
than
the
value
in
the
Y-register.
tests
to
see
if
the
value
in
the
X-register
is
greater
than
or
equal
to
the
value
in
the
Y-register.
QB
tests
to
see
if
the
value
in
the
X-register
is
not
equal
to
the
value
in
the
Y-register.
1]
tests
to
see
if
the
value
in
the
X-register
is
equal
to
the
value
in
the
Y-register.
9]
tests
to
see
if
the
value
in
the
X-register
is
less
than
Zero.
B8
tests
to
see
if
the
value
in
the
X-register
is
greater
than
or
equal
to
zero.
B8
tests
to
see
if
the
value
in
the
X-register
is
not
equal
to
zero.
B
tests
to
see
if
the
value
in
the
X-register
is
equal
to
Zero.
Example
Program.
This
program
calculates
the
arc
sine
of
an
input
value
x
(x
must
be
within
the
limits
of
—1
and
+1).
The
program
tests
the
resulting
angle,
and
if
it
is
not
greater
than
zero,
adds
360
degrees
to
it.
The
angle
displayed
by
the
pro-
gram,
then,
is
always
positive.
To
key
in
the
program
set
the
mode
switch
to
PR
GM
o
[ITHM
=~
and
press
[l
PrG
Jto
clear
program
memory
and
display
step
00.
Then
key
in
the
following
list
of
keys.

Table of Contents

Related product manuals