Two-pass-assembler

This is a simple C++ implementation for a Two pass assembler.

Overview of the Code

pass1:

  • Extracts all symbols and creates symbol table

pass2:

  • Each instruction is converted to machine code.
  • The programs again reads the symbol table to get address and size associated with each symbol.