EasyManuals Logo

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 #115 background imageLoading...
Page #115 background image
Section
7:
Program
Decisions
and
Control
113
Conditional
Branch
(x
<y)
=False
(x<y)=True
—I
Instruction
r—
.
7
_
I——
Instruction
J—
Instruction
[((LBL]7
I—
Instruction
e
—
—
When
the
calculator
is
in
Run
mode,
pressing
label
causes
the
calculator
to
go
to
the
specified
label
and
halt.
This
feature
is
convenient
when
you
want
to
review
or
edit
lines
of
memory
following
a
certain
label
instead
of
executing
them
as
part of
a
program.
Looping.
Looping
is
a
special
case
of
branching
in
which
a
instruction
is
used
to
repeat the
execution
of
a
series
of
instructions
one
or
more
times.
Loops
are
frequently
used
for
counters
and
for
sequen-
tially
calculating
a
series
of
results
using
the
same
set
of
program
instructions.
The
continuation
of
a
loop
for
a
new
iteration
or
the
transfer
of
execution
out
of
a
loop
is
controlled
by
a
conditional
branch.
In
the
following
illustration,
as
long
as
the
result
of
the
conditional
test
preceding
the
is
true
the
calculator
continues
successive
iterations
of
the
loop.
When
the
result
of
the loop conditional
test
becomes
false,
execution
skips
the
instruction
and
continues
with
the
rest
of
the
program.
Use
of
an
unconditional
branch
to
control
a
loop
results
in
an
infinite
loop,
that
is,
a
loop that
is
reexecuted
indefinitely.

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