SaM (Stack Machine) is the simulator used for CS212. It implements a custom ISA that is designed to be easy to use. The simulator and associated tools are written in Java.
Current Version: 2.6.3 (Released 1/30/2006)
The best way to run the simulator is to use the JAR file provided. On Windows it is usually possible to just double click on the file. Otherwise, you may run it from the command line using the following command:
java -jar SaM-version.jarWe do not provide any support for compiling SaM. Your compiler is required to work with the provided JAR file as detailed below.
Students have been contributing
au bufread,bufnewfile setf sam