-
First pass: Create symbol table and some of the instruction table.
-
Second pass: complete the instruction table and Create output files.
-
Output files:
- Filename.ob - object file contain all the opcode in hex.
- Filename.ext - extern file contains all extern labels
- Filename.ent - entry file contains all entry labels.
Compile the program:
make
Execute the program:
./assembler myasmfile.as