John Mavrick's Garden

Search IconIcon to open search

Last updated Unknown

Status: Tags: Links: Nand2Tetris Unit 6


Nand2Tetris Project 6

Details Page

Goal

Create an assembler that translates assembly code into machine language

Classes

Parser

Code

SymbolTable

Main

Suggestions

Development

  1. Develop a basic assembler that works without symbols
    • Test it
  2. Develop an ability to handle symbols
    • Test it
  3. Morph into an assembler that can translate any assembly program
    • Refer to supplied test program
      • L = less symbols

Testing

  1. Use the assembler to translate .asm file into .hack
  2. Load .hack into one of the following:
    • Hardware Simulator
    • CPU Emulator
    • Assembler
      • Compare translated code into our own

References:


Interactive Graph