Simple Stack Machine

Mon, 8 April, 2002
atze at uu dot nl
Introduction

Introduction

Download
Machine model

Instructionset

User Interface
All topics from SSM
Example Code

 

 
 

Atze Dijkstra.

 

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.