TI-82 Link Protocol Guide v1.0 - Tokens and Character Codes


Tokens and Character Codes

TI-82 Tokens

In order to save space and execution time, the TI-82 tokenizes all BASIC programs, equations and commands before running or evaluating them. Rather than trying to interpret multiple-character command names in real-time, all simple commands are compressed down to one or two bytes. All possible tokens that can exist in a program are shown below. Blue-colored squares link to a note describing the token's function. Red-colored squares link to a separate table of two-byte tokens starting with the original byte (5Ch, 5Dh, 5Eh, 60h, 61h, 62h, 63h or 7Eh). Black-colored squares have no known function.

Underscore characters signify space characters.

TI-86 Tokens Least Significant Digit
Most

Significant

Digit
  0 1 2 3 4 5 6 7 8 9 A B C D E F
0

 

>DMS

>Dec

>Frac

->

BoxPlot

[

]

{

}

r

°

-1

2

T

3

1

(

)

round(

pxl-Test(

augment(

rowSwap(

row+(

*row(

*row+(

max(

min(

R>Pr(

R>P[theta](

P>Rx(

P>Ry(

median(

2

randM(

mean(

solve(

seq(

fnInt(

nDeriv(

 

fMin(

fMax(

_

"

,

 

!

CubicReg_

QuartReg_

3

0

1

2

3

4

5

6

7

8

9

.

 E 

_or_

_xor_

:

note

4

and

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

5

P

Q

R

S

T

U

V

W

X

Y

Z

[theta]

more

more

more

prgm

6

more

more

more

more

Radian

Degree

Normal

Sci

Eng

Float

=

<

>

<=

>=

=/=

7

+

-

Ans

Fix_

Split

FullScreen

Func

Param

Polar

Seq

IndpntAuto

IndpntAsk

DependAuto

DependAsk

more

[box]

8

[cross]

[dot]

*

/

Trace

ClrDraw

ZStandard

ZTrig

ZBox

Zoom_In

Zoom_Out

ZSquare

ZInteger

ZPrevious

ZDecimal

ZoomStat

9

ZoomRcl

PrintScreen

ZoomSto

Text(

_nPr_

_nCr_

FnOn_

FnOff_

StorePic_

RecallPic_

StoreGDB_

RecallGDB_

Line(

Vertical_

Pt-On(

Pt-Off(

A

Pt-Change(

Pxl-On(

Pxl-Off(

Pxl-Change(

Shade(

Circle(

Horizontal_

Tangent(

DrawInv_

DrawF_

 

rand

[pi]

getKey

'

?

B

-

int_

abs_

det_

identity_

dim_

sum_

prod_

not_

iPart_

fPart_

 

[square root]

3[square root]

ln_

e^

C

log_

10^

sin_

sin-1_

cos_

cos-1_

tan_

tan-1_

sinh_

sinh-1_

cosh_

cosh-1_

tanh_

tanh-1_

If_

Then

D

Else

While_

Repeat_

For(

End

Return

Lbl_

Goto_

Pause_

Stop

IS>(

DS>(

Input_

Prompt_

Disp_

DispGraph

E

Output(

ClrHome

Fill(

SortA(

SortD(

DispTable

Menu(

Send(

Get(

PlotsOn_

PlotsOff_

 

Plot1(

Plot2(

Plot3(

 

F

^

[xth root]

1-Var_Stats_

2-Var_Stats_

LinReg(a+bx)_

ExpReg_

LnReg_

PwrReg_

Med-Med_

QuadReg_

ClrList_

ClrTable

Histogram

xyLine

Scatter

LinReg(ax+b)_

Note: Token 3Fh is the hard return character.

System Variables First Byte
Second Byte   5C 5D 5E 60 61 62 63
00

[A]

L1

 

Pic1

GDB1

 

ZXscl

01

[B]

L2

 

Pic2

GDB2

RegEq

ZYscl

02

[C]

L3

 

Pic3

GDB3

n

Xscl 

03

[D]

L4

 

Pic4

GDB4

[x-mean]

Yscl

04

[E]

L5

 

Pic5

GDB5

[Sigma]x

UnStart

05

 

L6

 

Pic6

GDB6

[Sigma]x2

VnStart

06

 

 

 

 

 

Sx

Un-1

07

 

 

 

 

 

[sigma]x

Vn-1

08

 

 

 

 

 

minX

ZUnStart

09

 

 

 

 

 

maxX

ZVnStart

0A

 

 

 

 

 

minY

Xmin

0B

 

 

 

 

 

maxY

Xmax

0C

 

 

 

 

 

[y-mean]

Ymin

0D

 

 

 

 

 

[Sigma]y

Ymax

0E

 

 

 

 

 

[Sigma]y2

Tmin

0F

 

 

 

 

 

Sy

Tmax

10

 

 

Y1

 

 

[sigma]y

[theta]min

11

 

 

Y2

 

 

[Sigma]xy

[theta]max

12

 

 

Y3

 

 

r

ZXmin

13

 

 

Y4

 

 

Med

ZXmax

14

 

 

Y5

 

 

Q1

ZYmin

15

 

 

Y6

 

 

Q3

ZYmax

16

 

 

Y7

 

 

a

Z[theta]min

17

 

 

Y8

 

 

b

Z[theta]max

18

 

 

Y9

 

 

c

ZTmin

19

 

 

Y0

 

 

d

ZTmax

1A

 

 

 

 

 

e

TblMin

1B

 

 

 

 

 

x1

nMin

1C

 

 

 

 

 

x2

ZnMin

1D

 

 

 

 

 

x3

nMax

1E

 

 

 

 

 

y1

ZnMax

1F

 

 

 

 

 

y2

nStart

20

 

 

X1T

 

 

y3

ZnStart

21

 

 

Y1T

 

 

n

[Delta]Tbl

22

 

 

X2T

 

 

 

Tstep

23

 

 

Y2T

 

 

 

[theta]step

24

 

 

X3T

 

 

 

ZTstep

25

 

 

Y3T

 

 

 

Z[theta]step

26

 

 

X4T

 

 

 

[Delta]X

27

 

 

Y4T

 

 

 

[Delta]Y

28

 

 

X5T

 

 

 

XFact

29

 

 

Y5T

 

 

 

YFact

2A

 

 

X6T

 

 

 

TblInput

2B

 

 

Y6T

 

 

 

 

40

 

 

r1

 

 

 

 

41

 

 

r2

 

 

 

 

42

 

 

r3

 

 

 

 

43

 

 

r4

 

 

 

 

44

 

 

r5

 

 

 

 

45

 

 

r6

 

 

 

 

80

 

 

Un

 

 

 

 

81

 

 

Vn

 

 

 

 

7E XX Tokens Least Significant Digit (second byte)
Most
Significant
Digit
  0 1 2 3 4 5 6 7 8 9 A B C D E F
0

Sequential

Simul

PolarGC

RectGC

CoordOn

CoordOff

Connected

Dot

AxesOn

AxesOff

GridOn

GridOff

LabelOn

LabelOff

Web

Time

TI-82 Character Codes

The TI-82 follows the ASCII standard for most of the normal printable characters - those in the range 32 (20h) to 126 (7Eh) - with the exception of the left bracket. All other possible characters take the place of control characters (0 to 31) and extended ASCII characters (127 to 255).

All characters and their character codes in the TI-82 6x8-pixel home screen font are shown here:

[6x8-pixel character map]


All characters and their character codes in the TI-82 6x6-pixel graph screen font are shown here:

[6x6-pixel character map]


[previous page]
File Formats

[home]
Table of Contents


Site maintained by Romain Liévin (roms@lpg.ticalc.org) and Tim Singer (tsinger@gladstone.uoregon.edu)