Files for P88 Computer Simulator
Instructions for Use
Source Code
Note that the following code uses many features not covered in this course.
Foremost among these is going beyond the default flow layout. Others are the
use of the Swing package (to allow the use of a ComboBox), the use of the
Timer class, for loops, external classes, and arrays of arrays. However,
students should not be afraid to look at this code.
Machine Language / Assembler Test Programs
Format: The simulator expects the first line to contain the name of the
program and the second line the contain the starting address (initial
IP value). Subsequent lines contain the machine language code (what is
to be loaded into memory) starting with location 0.
Only the leading, numeric part of each line is used by the simulator. The
rest (assembler and comments) is for human consumptions only. If there is
more than the machine code, it must be immediately followed by at least
one blank.
Other Info