The building of a typical assembler (6809 for example) re-
quires the following files:
1. m6809.h
2. m09ext.c
3. m09mch.c
4. m09adr.c
5. m09pst.c
6. asxxxx.h
7. asmain.c
8. aslex.c
9. assym.c
10. assubr.c
11. asexpr.c
12. asdata.c
13. aslist.c
14. asout.c
The first five files are the 6809 processor dependent sec-
tions which contain the following:
1. m6809.h - header file containing the machine specific
definitions of constants, variables, structures, and
types
2. m09ext - device description, byte order, and file ex-
tension information
3. m09pst - a table of the assembler general directives,
special device directives, and assembler mnemonics with
associated operation codes
4. m09mch / m09adr - machine specific code for processing
the device mnemonics, addressing modes, and special
directives
The remaining nine files provide the device independent sec-
tions which handle the details of file input/output, symbol
table generation, program/data areas, expression analysis, and
assembler directive processing.