Skip to content

Latest commit

 

History

History
executable file
·
53 lines (35 loc) · 1.7 KB

readme.md

File metadata and controls

executable file
·
53 lines (35 loc) · 1.7 KB

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