Skip to content

An implementation of the nand2tetris CPU emulator

Notifications You must be signed in to change notification settings

Gerrit0/n2t-cpu

Repository files navigation

n2t-cpu

An implementation of the nand2tetris CPU emulator that runs in your browser.

Supports drawing to the screen, but not keyboard input.

Try it out!

Features

  • Support for all instructions, not just the author's 18 default mnemonics.

  • Keyboard shortcuts (replace CTRL with Command on Mac)

    Shortcut Behavior
    ctrl+o Open a hack file
    ctrl+shift+o Open a RAM dump file
    s Step 1
    x Step X
    shift+x Step X (prompt for X)
    ctrl+g Go to ROM address
    ctrl+h Go to RAM address
    ctrl+b Set a breakpoint at the current PC
    ctrl+shift+b Set a breakpoint at the prompted address

About

An implementation of the nand2tetris CPU emulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published