Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 573 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 573 Bytes

computing

Implementation of the HACK computer, from NAND gates to high-level language. Written with python, and inspired by The Elements of Computing Systems.

project structure:

├── asm: HACK-assembly files
├── assembler: Assemble HACK-assembly files into machine code
├── cpu: HACK cpu architecture including ALU, memory, and logic gates
├── tests: unit tests

To use the assembler: python hack-assemble.py input.asm output.hack

For complete HACK computer specification, see nand2tetris.org