Skip to content

azhow/Emuander

Repository files navigation

Emuander

Neander emulator implemented using C++.

Features

  1. Cross-platform support (Windows and Linux);
  2. Command Line Interface to use;

How to use:

Emuander.exe [-d] -i input_memory_file.mem -o output_memory_file.mem

Where:

  • -h, --help Display help information
  • -i[input_program_file], --input=[input_program_file] Input program file (.mem)
  • -o[output_program_file], --output=[output_program_file] Output memory file (.mem)
  • -d, --debug Executes the Neander program in debug mode

Upon successful execution, the application will display the computer register`s contents and hardware counters.

Neander Registers

The Neander computer has the following registers:

  • ACC = Accumulator;
  • PC = Program Counter;
  • NEG = Negative Flag, true if the content of ACC is < 0;
  • ZER = Zero Flag, true if the content of ACC is == 0;