EasyManuals Logo

Texas Instruments TI Programmable 57 User Manual

Texas Instruments TI Programmable 57
94 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 #60 background imageLoading...
Page #60 background image
COUNT
OFF!
LOOPS
WITH
&on
AND
2rc)
mm
n
You've
already
seen
and
will
continue
to
see
how
it's
often
handy
to
be
able
to
“count’’
inside
your
programs.
There
are
many
ways
to
accomplish
this
and
in
the
looping
examples
we'll
discuss
in
this
chapter
we'll
be
showing
you
quite
a
few
of
them.
There
are
also
quite
a
few
ways
to
make
loops
or
“round
trips’’
happen
for
you.
You've
already
seen
how
to
do
it
easily
with
a
Silat
the
end
of
your
program,
The
[st]
key,
however,
always
starts
you
tight
back
at
the
beginning
so
your
whole
program
is
“in
the
loop’.
There
may
be
times
where
you'd
like
a
“round
trip”
to
involve
just
part
of
your
program.
Here's
where
the
@@
key,
working
with
labels,
can
be
handy.
To
create
a
loop
that
only
involves
one
part
of
your
program
just:
*
Puta
label
where
you
want
the
loop
to
start
with
the
Gad
ll
nkey
sequence
(nis
one
of
your
labels,
0-9).
*
At
the
end
of
the
“loop",
make
sure
the
last
instruction
is
@0n
(where
n
is
the
same
labe!
number).
Here's
a
counting
example
that
involves
loops:
DESTINATION
You'd
like
to
cook
up
a
program
that
sets
your
calculator
counting
by
1's,
2's,
4's,
etc.
whatever
number
you'd
like.
You'd
also
like
to
start
counting
from
any
number
you
select.
The
way
you'd
like
things
to
work
for
you
is
as
follows:
*
You'll
enter
the
number
you’d
like
to
count
by,
and
press
¢
You'll
enter
the
"starting
number”
and
press
RR)...
The
calculator
will
then
count
by
whatever
number
you've
selected,
beginning
at
your
“starting
number’’.
PLANNING
THE
Route
In
the
first
part
of
the
program
we'll
store
the
first
number
entered
the
number
we're
counting
by
in
memory
|.
Then
we'll
store
the
starting
number
for
our
counting
in
memory
2.
Now,
after
you've
stored
these
two
numbers,
you
won't
want
to
return
to
this
portion
of
the
program
for
the
counting
sequence,
so
put
down
a
label
telling
the
calculator
this
is
the
point
to
come
back
to’in
the
“loop”
After
the
label,
write
the
“counting”
portion
of
the
program.
One
way
to
do
this
is
to
recall
the
number
you're
counting
by
(in
memory
1),
and
sum
this
to
the
starting
number
(in
memory
2).
This
is
the
first
number
in
the
counting
sequence,
so
recall
memory
2
and
pause
to
look
at
it.
Then
just
repeat
the
process
by
returning
to
the
label.
AS,
Santen
ttn
ee
at
4-3

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI Programmable 57 and is the answer not in the manual?

Texas Instruments TI Programmable 57 Specifications

General IconGeneral
BrandTexas Instruments
ModelTI Programmable 57
CategoryCalculator
LanguageEnglish

Related product manuals