In-browser emulator of Hack CPU from nand2tetris course using react

This project emulates Hack computer from
nand2tetris course. It is still under light
development (light means that I might add/fix/polish things from time to time,
but not actively).

Current features

  • Built-in assembler (although it is very crude and doesn’t really have error
    reporting as of yet)

  • ROM view, including binary machine code as well as the coresponding
    instructions. Current instruction (program counter) is highlighted.

  • RAM view

  • Full ALU implementation, which includes undocumented instructions, unlike the
    official CPU emulator.

  • Adjustable clock speed (although I would not recommend to go above ~10MHz)

  • Full support for keyboard input and display output.

  • All in your browser on any device! No Java required!

View Github

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

GIPHY App Key not set. Please check settings

The Do’s and Don’ts of Front-End Documentation

Building a dropdown menu using Alpine.js