✖
8-Bit Simulator
This is a simulator for Ben Eater's
8-Bit Computer. Some modifications have been made to the computer. It now has 512 bytes of ram of which 256 are for data and 256 are for instructions. The blue section in the ram viewer is
the instruction data and the yellow section is the data.
To use the simulator write your code on the left using the assembler syntax Eater developed. Then when you want to run the code click the build (🔨) icon. This will program your code into the computer. You can then step (➜) through the code or run
(▶) it at a fixed pace.
There are a few extensions to Eater's language. The most notable would be the addition of the Jump Equal to Zero (JEZ) and Jump Greater than Zero (JGZ) instructions. In addition, you can specify a label using the name: syntax. This label can be used
to replace the argument for a jump instruction.
The final useful feature of the simulator is debugging. You can click on the line number at any given line and the simulator will halt execution when the program gets to that instruction. To use this feature you must run the program in debug (🐞)
mode.
For the source code, stand alone compiler, and Arduino upload sketch visit the project's
Github.
This project uses the library
CodeMirror whose license can be found
here.
© 2018 Max Apodaca
This project is licensed under the MIT license which can be found
here.