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.

0
Program

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.

     
# Introduction to programming the TI-57 (Dice Roll) # The TI-57 Programmable Calculator was made by Texas Instruments around 1980. # It has a LED Display, 50 Program steps and 8 memory registers. # A TI-57 Program is a set of basic instructions that can perform calculations, # read or write memory, test a value, go to a program step to make a loop or call a subroutine. # The TI-57 Program Emulator (this web site) translates the instructions into Python then runs it. # The Python code can be checked below along with the Calculator Internal State. # The following program generates a random number (R) from 2 to 12 to simulate two dice rolls. # Here is the algorithm: R = Int(A X 6 + 1) where A = Fract[(π + A)^8] and A = 0 to start. # Run the Program to roll the dice then check the details in the History. # Source: [https://en.wikipedia.org/wiki/TI-57 TI-57] on Wikipedia # Data Input 2 STO 0 # Number of dice # Data Processing (25 steps) 0 STO 1 # Reset the total 2nd Lbl 1 2nd pi + RCL 2 = # i = π + A y^x 8 = INV 2nd Int # A = Fract[i^8] STO 2 X 6 + 1 = 2nd Int # R = Int(A X 6 + 1) 2nd Pause # Keep track of the number SUM 1 # Update the total 2nd DSZ # Dice left to roll? GTO 1 # Yes, roll the next dice RCL 1 # No, display the total 2nd Pause R/S

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