EasyManuals Logo

HP HP-67 User Manual

HP HP-67
364 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 #259 background imageLoading...
Page #259 background image
Section
13
Flags
Besides
the
conditionals
(K=Y),
(>0),
etc.)
and
the
tests
for
zero
(=21,
653,
(M),
Bszm),
you
can
also
use
flags
for
tests
in
your
programs.
A
flag
actually
is
a
memory
device
that
can
be
either
SET
(true)
or
CLEAR
(false).
A
running
program
can
then
zest
the
flag
later
in
the
program
and
make
a
decision,
depending
upon
whether
the
flag
was
set
or
clear.
There
are
four
flags,
FO,
F1, F2,
and
F3,
available
for
use
in
your
HP-67.
To
set
a
flag
true,
use
the
instruction
(SF)
(set
flag)
followed
by
the
digit
key
(0],
(1],
(2],
(3))
of
the
desired
flag.
The
instruction
CF)
(clear
flag)
is
used
to
clear
flags.
When
using
flags,
decisions
are
made
using
the
instruction
(is
flag
true?)
followed
by
the
digit
key
((0],
(1), (2),
(3))
specifying
the
flag to
be
tested.
When
a
flag
is
tested
by
a
([}
(n]
instruction,
the
calculator
executes
the
next
step
if
the
flag
is
set
(this
is
the
‘DO
if
TRUE”’
rule
again).
If
the
flag
is
clear,
the
next
step
of
program
memory
is
skipped
before
execution
resumes.
Is
flag
F1
true?
YES
NO
m
E]
=~
\
If
YES,
,
I
NO,
skip
continue
execution
¥
one
step before
with
next
step.
resuming
execution.
255

Table of Contents

Other manuals for HP HP-67

Questions and Answers:

Question and Answer IconNeed help?

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

HP HP-67 Specifications

General IconGeneral
BrandHP
ModelHP-67
CategoryCalculator
LanguageEnglish

Related product manuals