Simpletron 3 simulates a computer executing a program written in SML, a fakey assembly language. The user can enter a program, then watch the computer assemble and execute each statement.
Programs can manipulate integer data from -9999 to +9999 with the five operations: addition, subtraction, multiplication, division, and exponentiation.
During execution certain fatal errors are detected: attempt to divide by zero, accumulator overflow, invalid operation codes. These errors will produce an error message.
Careless user errors will cause the program to crash. The user must be careful to select and press the correct buttons. A buzzer will notify the user that data input is required so turn on your sound!
Both program and data reside in memory; it's the responsibility of the programmer to prevent overlap. Simpletron 3 has a RAM of 100 addresses from 00 to 99. The memory can be displayed at any time.
Simpletron 3 is an adaptation of EX 7.43 from Java How to Program by Deitel & Deitel, Prentice Hall, a conputer science text used at Duquesne University, Pittsburgh.