HP -33E Owner's Handbook Manual page 51

Table of Contents

Advertisement

Branching
47
To key in the program:
1.
2.
I
....
I
I
I
1
I
1
I
~_...J
Slide
the
PRGM·
RUN sw
itch PAGMImlllIIUN to PRGM
.
Press
m
Cl.EAR
IPRGWt
to
clear
program
memory
and reset
the
calculator
to
line
00.
Keystrokes
Display
III
CLEAR
1
""GO 1
00
0
01-
0
ISTOI
I
02-
23 1
I
03-
1
ISTol01
04-23 51
1
IRCLt
I
05-
24
IIlI
"'USE
I
06-
14 74
Allows
viewing of
numbe
r
before
taking
its
square
root.
1Il@
07-
14 0
IIlI
"'USE
I
08-
14 74
Allows
viewing of
square
root.
IGTol03
09-
13 03
To run
the prog
ram
. s
li
de
the
PRGM -R
UN
switch
PRGM.mmRUN
to
RUN
and pre
ss
001 ATNI
@. The
program
will begin
di splaying
who
le
numbers
and
their
square roots
and
will
continue
to
do
so
until
you
press
@
from the
keyboard or
unt
il the ca lculator ove rflows.
How it
works:
The
IGToI03
instruction
ca uses
the
calc ulator to go
to
the line
03
in
struct
ion
in
the program. When it
encounters
that line.
executio
n
begin
s
again
fro
m that point.
Since
execution
is transferred to the
in
struction
in
line
03
eac
h
time
the
calc ulator executes
the
1
G10
103
in struction in
line 09.
the
calculator wi
ll
rema
in in
this "
loop." continually
adding
one to
the
number in
sto rage
register R\
and di
splay ing
the
new
number
and
it
s sq uare root.
Looping
techniques
like
the
one
illustrated
here
are common
and
extrao
rdin aril
y use
ful in
programming
.
By using
loops.
yo
u
take
advantage of
one
of
the most powerful
features
of your
HP-33
E-
the
ability to
update
data and
perform ca lculations
automatically.
qui
ckly
.
and
if you
so
desire.
endlessly.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp-33c

Table of Contents