TI-83 Link Protocol Guide v1.0 - Tokens and Character Codes (to do...)

##

Tokens and Character Codes

### TI-83 Tokens

In order to save space and execution time, the TI-83 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 (3Dh or 8Eh). 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( | RPr( | RP( | PRx( | PRy( | median(
2 | randM( | mean( | solve( | seq( | fnInt( | nDeriv( |  | fMin( | fMax( | _ | " | , | i | ! | 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 |  | more | more | more | prgm
6 | more | more | more | more | Radian | Degree | Normal | Sci | Eng | Float | = | < | > |  |  |
7 | + | - | Ans | Fix_ | Horiz | Full | Func | Param | Polar | Seq | IndpntAuto | IndpntAsk | DependAuto | DependAsk | more |
8 |  |  | * | / | 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_ | more | rand |  | getKey | ' | ?
B | - | int( | abs( | det( | identity( | dim( | sum( | prod( | not( | iPart( | fPart( | more | ( | 3( | 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_ | L | Plot1( | Plot2( | Plot3( |
F | ^ |  | 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 | AA
00 | [A] | L1 |  | Pic1 | GDB1 |  | ZXscl | Str1
01 | [B] | L2 |  | Pic2 | GDB2 | RegEq | ZYscl | Str2
02 | [C] | L3 |  | Pic3 | GDB3 | n | Xscl | Str3
03 | [D] | L4 |  | Pic4 | GDB4 |  | Yscl | Str4
04 | [E] | L5 |  | Pic5 | GDB5 | x | UnStart | Str5
05 | [F] | L6 |  | Pic6 | GDB6 | x2 | VnStart | Str6
06 | [G] | L7 |  | Pic7 | GDB7 | Sx | Un-1 | Str7
07 | [H] | L8 |  | Pic8 | GDB8 | x | Vn-1 | Str8
08 | [I] | L9 |  | Pic9 | GDB9 | minX | ZUnStart | Str9
09 | [J] | L0 |  | Pic0 | GDB0 | maxX | ZVnStart | Str0
0A |  |  |  |  |  | minY | Xmin |
0B |  |  |  |  |  | maxY | Xmax |
0C |  |  |  |  |  |  | Ymin |
0D |  |  |  |  |  | y | Ymax |
0E |  |  |  |  |  | y2 | Tmin |
0F |  |  |  |  |  | Sy | Tmax |
10 |  |  | Y1 |  |  | y | min |
11 |  |  | Y2 |  |  | xy | max |
12 |  |  | Y3 |  |  | r | ZXmin |
13 |  |  | Y4 |  |  | Med | ZXmax |
14 |  |  | Y5 |  |  | Q1 | ZYmin |
15 |  |  | Y6 |  |  | Q3 | ZYmax |
16 |  |  | Y7 |  |  | a | Zmin |
17 |  |  | Y8 |  |  | b | Zmax |
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 | Tbl |
22 |  |  | X2T |  |  | p | Tstep |
23 |  |  | Y2T |  |  | z | step |
24 |  |  | X3T |  |  | t | ZTstep |
25 |  |  | Y3T |  |  | 2 | Zstep |
26 |  |  | X4T |  |  |  | X |
27 |  |  | Y4T |  |  | df | Y |
28 |  |  | X5T |  |  |  | XFact |
29 |  |  | Y5T |  |  | 1 | YFact |
2A |  |  | X6T |  |  | 2 | TblInput |
2B |  |  | Y6T |  |  | 1 | N |
2C |  |  |  |  |  | Sx1 | I% |
2D |  |  |  |  |  | n1 | PV |
2E |  |  |  |  |  | 2 | PMT |
2F |  |  |  |  |  | Sx2 | FV |
20 |  |  |  |  |  | n2 | Xres |
21 |  |  |  |  |  | Sxp | ZXres |
22 |  |  |  |  |  | lower |  |
23 |  |  |  |  |  | upper |  |
24 |  |  |  |  |  | s |  |
25 |  |  |  |  |  | r2 |  |
26 |  |  |  |  |  | R2 |  |
27 |  |  |  |  |  | df |  |
28 |  |  |  |  |  | SS |  |
29 |  |  |  |  |  | MS |  |
2A |  |  |  |  |  | df |  |
2B |  |  |  |  |  | SS |  |
2C |  |  |  |  |  | MS |  |
40 |  |  | r1 |  |  |  |  |
41 |  |  | r2 |  |  |  |  |
42 |  |  | r3 |  |  |  |  |
43 |  |  | r4 |  |  |  |  |
44 |  |  | r5 |  |  |  |  |
45 |  |  | r6 |  |  |  |  |
80 |  |  | u |  |  |  |  |
81 |  |  | v |  |  |  |  |

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
1 | uvAxes | vwAxes | uwAxes |  |  |  |  |  |  |  |  |  |  |  |  |

BB 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 | npv( | irr( | bal( | Prn( | Int( | Nom( | Eff( | dbd( | lcm( | gcd( | randInt( | randBin( | sub( | stdDev( | variance( | inString(
1 | normalcdf( | invNorm( | tcdf( | 2cdf( | cdf( | binompdf( | binomcdf( | poissonpdf( | poissoncdf( | geometpdf( | geometcdf( | normalpdf( | tpdf( | 2pdf( | pdf( | randNorm(
2 | tvm_pmt | tvm_I% | tvm_PV | tvm_N | tvm_FV | conj( | real( | imag( | angle( | cumSum( | expr( | length( | List( | ref( | rref( | Rect
3 | Polar | e | SinReg_ | Logistic_ | LinRegTTest_ | ShadeNorm( | Shade_t( | Shade2( | Shade( | Matrlist | Listmatr | Z-Test( | T-Test_ | 2-SampZTest( | 1-PropZTest( | 2-PropZTest(
4 | 2-Test( | ZInterval_ | 2-SampZInt( | 1-PropZInt( | 2-PropZInt( | GraphStyle( | 2-SampTTest_ | 2-SampTest_ | TInterval_ | 2-SampTInt_ | SetUpEditor_ | PMT_End | PMT_Bgn | Real | re^i | a+bi
5 | ExprOn | ExprOff | ClrAllLists | GetCalc( | DelVar_ | EquString( | StringEqu( | Clear_Entries | Select( | ANOVA( | ModBoxPlot | NormProbPlot |  |  |  |

Note: Underscore characters in tokens BB 20 to BB 24, BB 36, BB 4B and BB 4C are actually underscores, not space characters.

### TI-83 Character Codes

The TI-83 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-83 6x8-pixel home screen font are shown here:

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

File Formats | Table of Contents |

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