EasyManua.ls Logo

HP HP-25 - Page 92

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...
Unconditional
Branching
05
06
-
07
Execute
the
step
specified
next.
13
06
|
——
(GTO
06)
When
recording
an
unconditional
branch
always
follow
the
key
with
two
digit
keys
to
designate
the
step
number.
For
in-
stance,
to
branch
to
step
6
the
program
instruction
must
be
G
[o]fe].
If
the
first
digit
key
following
is
greater
than
four,
the
key
is
ignored
and
the
number
is
stored
in
that
step
of
pro-
gram
memory.
Similarly,
if
one
of
the
two
keys
following
[Ei
is
not
a
digit
key,
the
[
key
is
ignored
and
the
invalid
key
is
stored
in
program
memory.
Example
Program.
The
following
program
is
an
interesting
one
to
show
your
friends.
It
calculates
the
squares
of
consecu-
tive
whole
numbers
beginning
with
zero.
The
calculator
con-
tinues
to
compute
the
square of
the
next
consecutive
whole
number
until
you
press[R/S]to
stop
program
execution
(or
until
the
calculation
overflows).
The
simple
formula
used
is:
x
X
n?
where
n
is
continually
incremented
by
one.

Table of Contents

Related product manuals