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 #113 background imageLoading...
Page #113 background image
Section
7:
Program
Decisions
and
Control
111
X=y
tests
to
see
if
the
value
in
the
X-register
is
equal
to
the
value
in
the
Y-register.
tests
to
see
if
the
value
in
the
X-register
is
less
than
zero.
tests
to
see
if
the
value
in
the
X-register
is
greater
than
zero.
tests
to
see
if
the
value
in
the
X-register
is
not
equal
to
zero.
(g][x=0]
tests
to
see
if
the
value
in
the
X-register
is
equal
to
zero.
Flags
Another
type
of
decision-making
test
for
use
in
programs
is
a
flag
test.
A
flag
is
actually
a
status
indicator
that
is
in
either
a
set
(true)
or
clear
(false)
status.
A
running
program
can
test
a
flag
and
make
a
decision
based
upon
whether
the
flag
is
set
or
clear.
Flag
tests
affect
program
execution
in
the
same
way
as
conditional
tests.
The
two
flags
in
your
HP-11C
are
numbered
0
and
1.
To
set
a
flag,
press
9
][SF](set
flag)
followed
by
the
proper
digit
key
(0
or
1)
of
the
desired
flag.
To
clear
a
flag,
press
(clear
flag)
followed
by
the
proper
digit
key.
To
test
a
flag
use
(g
][F?](is
flag
set?)
followed
by
the
digit
key
specifying
the
flag
to
be
tested.
A
flag
that
has
been
set
by
a
[9][SF]n
command
remains
set
until
it
is
cleared
by
a
[g]
n
command
or
until
Continuous
Memory
is
reset.
Is
flag
1
set (True)?
Yes
Instruction
l_
No
(g])F2)1
Instruction
L--Jd
Instruction
;
Instruction

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