Assembler

An assembler is a translator, that translates an assembler program into a conventional machine language program.

Basically, the assembler goes through the program one line at a time, and generates machine code for that instruction. Then the assembler procedes to the next instruction. In this way, the entire machine code program is created.

Two Pass Assembler

A two pass assembler does two passes over the source file (the second pass can be over an intermediate file generated in the first pass of the assembler).

Outputs

  1. ###
  2. ###