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 #79 background imageLoading...
Page #79 background image
Section
7:
Programming
Basics
77
words
(numbers)
in
the
Z-
and
Y-registers,
and
the
word
size
in
the
X-register.
Given
these
values
in
the
stack,
the
first
part
of
the
program
could
then
be:
Keystrokes
(g](LBL]A
Word
size
in
X-register.
Stack
drops.
The
higher
order
word
:
(from
Y)
is
now
in
the
X-register;
the
lower
order
word
(from
Z)
is
in
the
Y-register.
Direct
Entry.
Enter
the
data
as
needed
as the
program
runs.
Write
a
(run/stop)
instruction
into
the
program
where
data
values
are
needed
so
the
program
will
stop
execution
there.
Enter
your
data,
then
press
to
restart
the
program.
Program
Memory
The
HP-16C
has
203
bytes
available
for
data
storage
and program
lines.
Program
memory
is
automatically
allocated
from
data
storage,
seven
bytes
(for
seven
lines)
at
a
time.
Space
for
data
storage
registers
is
decremented
accordingly.
Refer
to
the
explanation
of
memory
allocation
in
section
6.
Program
Instructions
and
Keycodes
Each
digit,
decimal
point,
and
function
key
is
considered
an
instruction
and
is
stored
in
one
line
(occupying
one
byte) of
program memory.
Instructions
that include
prefixes
(such
as
[f],
(sT0],[GT0],
and
[LBL])
still
occupy
only
one
line.
Each
key
on
the
HP-16C
keyboard
is
identified
in
Program
mode
by
a
one-
or
two-digit
‘“‘keycode”.
The
first
digit
of
a
two-digit
keycode
refers
to
the
row
(1
to 4
from
top
to
bottom),
and
the
second
digit
refers
to
the
column
(1,
2,
...,9,0
from
left
to
right).
The
keycode
for
a
digit
key
(including
A
to
F)
is
simply
that
digit.
For
example:
Instruction
Code
(g](LBL]1
001-43,22,
1
({)SET
COMPL[UNSGN]
002-
42
3
SET
COMPL
[UNSGN]
is
3"

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