Skip to content

🖥️ An assembler and hardware simulator for the Mano Basic Computer, a 16 bit computer.

License

Notifications You must be signed in to change notification settings

TomerAberbach/mano-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mano Simulator

An assembler and hardware simulator for the Mano Basic Computer, a 16 bit computer.

This is a JavaFX application that compiles assembly code for and runs a simulation of Mano's Computer as detailed in:

Computer System Architecture, 3rd edition by M. Morris Mano Published by Prentice-Hall, c 1993 Chapter 5, pp 123-172.

Usage

  1. Download the latest jar from releases

  2. Install a Java version compatible with the downloaded jar's Java version

  3. For jars supporting Java versions lower than 11, install JavaFX

  4. Assuming mano-simulator.jar is in the current working directory, run the following command:

    $ java -jar mano-simulator.jar

    If the java command is not found, then ensure java is in your PATH.

Development

  1. Install Git

  2. Run the following command to clone the repository:

    $ git clone git@github.com:TomerAberbach/mano-simulator.git
  3. Install Maven

  4. Assuming the current working directory is the cloned repository, run the following command to package the application:

    $ mvn package

    An executable jar should appear at target/mano-simulator-VERSION.jar, where VERSION matches the version in pom.xml. Replace VERSION in and run the following command to run the application:

    $ java -jar target/mano-simulator-VERSION.jar

Examples

See example programs.

License

MIT © Tomer Aberbach