Texas Instruments TI-92 Calculator User Manual


 
444 Appendix A: Functions and Instructions
8992APPA.DOC TI-89 / TI-92 Plus: Appendix A (US English) Susan Gullord Revised: 02/23/01 1:48 PM Printed: 02/23/01 2:21 PM Page 444 of 132
Exec
CATALOG
Exec
string
[
,
expression1
]
[
,
expression2
]
...
Executes a
string
consisting of a series of
Motorola 68000 op-codes. These codes act as a
form of an assembly-language program. If
needed, the optional
expressions
let you pass
one or more arguments to the program.
For more information, check the TI Web site:
education.ti.com
Warning:
Exec
gives you access to the full
power of the microprocessor. Please be
aware that you can easily make a mistake
that locks up the calculator and causes you
to lose your data. We suggest you make a
backup of the calculator contents before
attempting to use the
Exec
command.
Exit
CATALOG
Exit
Exits the current
For
,
While
,
or
Loop
block.
Exit
is not allowed outside the three looping
structures (
For
,
While
,
or
Loop
).
Program listing:
:0
!
temp
:For i,
1
,
1
00,
1
: temp+i
!
temp
: If temp>20
: Exit
:En
d
For
:Disp temp
Contents of
temp
after execution:
21
exp
4
list()
CATALOG
exp
4
list(
expression
,
var
)
list
Examines
expression
for equations that are
separated by the word “or,” and returns a list
containing the right-hand sides of the
equations of the form
var=expression
. This
gives you an easy way to extract some
solution values embedded in the results of
the
solve()
,
cSolve()
,
fMin()
, and
fMax()
functions.
Note:
exp
4
list()
is not necessary with the
zeros
and
cZeros()
functions because they
return a list of solution values directly.
solve(x^2
ì
x
ì
2=0,x)
¸
x=2 or
x=
ë
1
exp4list(solve(x^2
ì
x
ì
2=0,x),x)
¸
{
ë
1 2}