EasyManuals Logo

HP HP-16C User Manual

HP HP-16C
140 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 #95 background imageLoading...
Page #95 background image
Section
9:
Program
Branching
and
Controls
93
Keystrokes
Display
D 6
h
Leastsignificant
bits
of
double-word
checksum.
(xxy]
1
h
Most significant
bits:
sum
of
bits
in
above
pattern
is
16,4
or
22,.
When
writing
or
analyzing
a
program,
it
is
often
helpful
to
use
a
diagram
showing
the
contents
of
the
stack
before
and
after
each
instruction.
The
stack
diagrams
below
show
the
movement
of
the
stack
contents
in
the
loop
portion
(
0:
lines
010
through
019)
of
the
above
program.
On
the
eighth
iteration
of
this
loop,
the
carry
is
set
in
step
013
when
the
checksum
for
the
contents
of
R
is
added
to
the
prior
checksum
(equalling
E
),
thereby
exceeding
a
single
word
size.
This
iteration
is
shown
here.
(The
A
in
the
T-
and
Z-registers
is
a
remnant
from
lines
006
and
007.)
Line
¥
010
011
012
013
014
re[s]
[o]
[s]
[=]
[&]
T
A
Z
0
Y
E
X
E b
Keys
=
[g](LBL]O
EER
(xxy)
Line
012
does
a
checksum
of
the
contents
of
the
register
currently
addressed
by
Rj,
and
line
013
adds
this
checksum
to
the
least
significant
part
of
the
checksum.
Lines 014
to
017
add
in
the
carry
bit
from
the
previous
add
to
the
most
significant
word
of
the
checksum.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

HP HP-16C Specifications

General IconGeneral
BrandHP
ModelHP-16C
CategoryDesktop
LanguageEnglish

Related product manuals