TI-57 Program Emulator
Display Register Display

The Display Register or X Register shows the result after the execution of a Program. In the Python code, the X Register corresponds to the variable "x".

The Display History shows the values of the Display Register each time the Program encounters the "2nd Pause" key. The real Calculator would pause for a second while the Emulator keeps track of the X Register. In the Python code, the Display History is stored in the "regx" list.

The Display Register is editable. Enter a list of numbers separated by spaces to change the Data. Then click elsewhere to see the effect of the change in the Program. Or press the Enter key to run the Program with the new Data. For example, suppose the Data begins with 10 STO 1 20 STO 2 30 STO 3 and you want to replace the first two with 11 STO 1 22 STO 2. You can either edit the program directly or enter 11 22 in the Display Register. This is handy especially with games.


Program Instructions/Keys

  • A program is a set of instructions written with the TI-57 keys. You will find the list of keys in the Reference Guide (link at the bottom of the page).
  • You can use X or * for multiplications and : or / for divisions.
  • Most of the keys are simple to enter, others require some clarification (on the left, how to enter the key, on the right, which key it represents):
    2nd Ct = 2nd C.t | x<>t = x↔t | x^2 = x² | Vx = √x | 2nd DMS = 2nd D.MS | 2nd P->R = 2nd P→R | 2nd pi = 2nd π | y^x = yx | 2nd s2 = 2nd σ2 | 2nd S+ = 2nd Σ+ | 2nd x = 2nd x.
  • The Emulator accepts comments starting with #.
Program Sections
  • Program sections are optional.
  • Data Input: This is where the Data is stored in memory. Data would be entered outside of Program mode on a real Calculator.
  • Data Preprocessing: This is where the Data is manipulated before the atual processing. This would be done outside of Program mode on a real Calculator.
  • Data Processing: This is the Program as it would be entered on the real Calculator. The number of steps is only relevant for this section.
Program Limitations
  • The Labels are limited to 7 on the Emulator while labels 8 and 9 are available on a real Calculator.
  • The 50-steps limit is not enforced. This is used in a few cases to improve the "user experience".
  • Numbers are extracted as a whole integer or float but not digit by digit.
  • Jumps between subroutines (GTO or RST) are not implemented.

# Black Jack # Play Blackjack against the calculator! # Enter 1 to draw a card then then press Return. # The calculator will return your card from 1 to 11. # Keep drawing to get as close as possible to 21. # You will lose the game if you exceed 21. # Enter 0 when you are happy with your hand. # The calculator then draws its cards and displays the overall score. # For example, 3.2 means you have won 3 times and lost twice. # You can check the cards that have been drawn in the History. # You cards are shown as positive numbers, those of the calculator as negative numbers. # Source: "Ordinateur de poche n°21.pdf#page=53", p. 53 # Data Input 1 STO 5 # Your choice # Data Preprocessing 0 STO 7 RCL 3 INV 2nd x=t # Seed != 0? GTO 3 0.494318 STO 3 # Set the seed 2nd Lbl 3 RCL 5 2nd x=t # Stop drawing? GTO 0 GTO 1 # Data Processing (59 steps) 2nd Lbl 0 # The calculator plays SBR 4 +/- 2nd Pause INV SUM 2 RCL 2 2nd x>=t # Total>=22? GTO 6 # Yes, the calculator lost x<>t RCL 1 2nd x=t # Same hand values? GTO 7 # Yes, no winner 2nd x>=t # Your hand value greater? GTO 0 # Yes, the calculor always keeps drawing! GTO 5 2nd Lbl 1 # You play SBR 4 STO 0 2nd Pause SUM 1 RCL 1 2nd x>=t # Total>=22? GTO 5 # Yes, you lost RCL 0 R/S 2nd Lbl 5 0.1 SUM 4 # Game lost GTO 7 2nd Lbl 6 1 SUM 4 # Game won 2nd Lbl 7 0 STO 1 STO 2 # Reset hand values RCL 4 # Score 2nd Fix 1 2nd Pause R/S # Subroutine: Card draw 2nd Lbl 4 22 x<>t RCL 3 INV 2nd log INV 2nd Int STO 3 X 11 + 1 = 2nd Int INV 2nd Fix INV SBR # Note that this program would not fit into a real calculator!

Python Code
Internal State
Manuals EN DE FR Reference Guide EN More on