Simple Stack Machine

23 Jan, 2019


Machine model


User Interface
All topics from SSM
Example Code



As the name suggests the Simple Stack Machine (SSM) emulates a stack machine. Its main purpose is to function as targetmachine for a compiler built by students during a compiler course, IPT (Implementatie van Programmeer Talen (Dutch), or Implementation of Programming Languages (English)).

SSM offers a simple machine model with linear addressing and a RISC alike instructionset. Its user interface allows single stepping, and setting of breakpoints. Furthermore, the used stack can be annotated to include remarks about the usage of stacklocations. Finally, online help is offered on several topics, including the semantics of the instructionset.

See the download area for download of executables (+ doc, + examples), instructions for installing/running SSM, and change history.

Author of the tool and this website is Atze Dijkstra. Current contact person for the tool when used for the course Talen en Compilers/Languages and Compilers (INFOB3TC) is Jurriaan Hage (