EasyManuals Logo
Home>HP>Calculator>HP-11C

HP HP-11C User Manual

HP HP-11C
264 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
Page #114 background imageLoading...
Page #114 background image
112
Section
7:
Program
Decisions
and
Control
Program
Control
GoTo
The
instruction
you
have
used
earlier
to
position
the
calcula-
tor
to
a
specific
program
line
for
viewing
or
editing
is
also
used
to
transfer
execution
to
a
label
elsewhere
in
program
memory.
When
used
as
an
instruction
in
a
program
[GTO]is
followed
by
an
alpha
or
numeric
label
address.
J4
--
[eao7
Instruction
-_
Instruction
‘1
(L7
(————
Instruction
When
a
running
program
encounters
a
label
instruction,
execution
is
suspended
while
the
calculator
searches
downward
in
memory
for
the
specified
label.
Program
execution
resumes
at
the
first
line
found
to
contain
the
label.
Branching
and
Looping
Unconditional
Branching.
An
unconditional
branch
is
simply
a[GTO]instruction
that
is
always
executed
in
a
running
program
to
transfer
program
execution
elsewhere
in
the
program,
regardless
of
data
status.
The
preceding
illustration
of
operation
is
an
unconditional
branch.
Conditional
Branching.
When
label
is
used
in
conjunction
with
a
conditional
test,
as
in
the
following
illustration,
the
label
instruction
becomes
a
conditional
branch.
That
is,
the
result
of
the conditional
test
preceding
the
determines
whether
or
not
the
[GTO]instruction
will
be
executed.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP HP-11C and is the answer not in the manual?

HP HP-11C Specifications

General IconGeneral
BrandHP
ModelHP-11C
CategoryCalculator
LanguageEnglish

Related product manuals