<s>
The	O
TI-57	B-Device
was	O
a	O
programmable	O
calculator	B-Application
made	O
by	O
Texas	O
Instruments	O
between	O
1977	O
and	O
1982	O
.	O
</s>
<s>
There	O
were	O
three	O
machines	O
by	O
this	O
name	O
made	O
by	O
TI	O
,	O
the	O
first	O
was	O
the	O
TI-57	B-Device
with	O
LED	O
display	O
released	O
in	O
September	O
1977	O
along	O
the	O
more	O
powerful	O
TI-58	B-Device
and	O
TI-59	B-Device
.	O
</s>
<s>
Two	O
later	O
versions	O
named	O
TI-57	B-Device
LCD	B-Device
and	O
TI-57	B-Device
LCD-II	O
have	O
a	O
LCD	B-Device
display	I-Device
,	O
but	O
were	O
less	O
powerful	O
(	O
ran	O
much	O
slower	O
)	O
and	O
had	O
much	O
less	O
memory	O
:	O
48	O
bytes	O
to	O
be	O
allocated	O
between	O
program	O
'	O
steps	O
 '	O
and	O
storage	O
registers	O
.	O
</s>
<s>
The	O
TI-57	B-Device
lacked	O
non-volatile	B-General_Concept
memory	I-General_Concept
,	O
so	O
any	O
programs	O
entered	O
were	O
lost	O
when	O
the	O
calculator	B-Application
was	O
switched	O
off	O
or	O
the	O
battery	O
ran	O
out	O
.	O
</s>
<s>
The	O
LED	O
display	O
version	O
of	O
the	O
TI-57	B-Device
had	O
a	O
rechargeable	O
Nickel-Cadmium	O
battery	O
pack	O
BP7	O
which	O
contains	O
two	O
AA	B-Algorithm
size	I-Algorithm
batteries	O
and	O
electronics	O
to	O
raise	O
the	O
voltage	O
to	O
the	O
9V	O
required	O
by	O
the	O
calculator	B-Application
.	O
</s>
<s>
A	O
popular	O
modification	O
is	O
to	O
power	O
it	O
from	O
a	O
9V	B-Algorithm
battery	I-Algorithm
and	O
use	O
the	O
battery	O
cover	O
of	O
a	O
LED	O
TI-30	B-Device
or	O
a	O
part	O
of	O
the	O
dismantled	O
battery	O
pack	O
.	O
</s>
<s>
Radio	O
Shack	O
also	O
marketed	O
this	O
calculator	B-Application
,	O
rebranded	O
as	O
the	O
EC-4000	O
.	O
</s>
<s>
The	O
programming	O
capabilities	O
of	O
the	O
TI-57	B-Device
were	O
similar	O
to	O
a	O
primitive	O
macro	B-Language
assembler	I-Language
.	O
</s>
<s>
The	O
TI-57	B-Device
used	O
the	O
"	O
one	O
step	O
,	O
one	O
instruction	O
"	O
principle	O
,	O
regardless	O
of	O
whether	O
one	O
instruction	O
required	O
one	O
or	O
up	O
to	O
four	O
keypresses	O
.	O
</s>
<s>
The	O
following	O
program	O
generates	O
pseudo-random	B-Error_Name
numbers	I-Error_Name
within	O
the	O
range	O
of	O
1	O
to	O
6	O
.	O
</s>
