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. ASM.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.
The assembler defaults to the not case sensitive mode. This
may be altered by changing the case sensitivity flag in asm.h to
/*
* Case Sensitivity Flag
*/
#define CASE_SENSITIVE 1
The assemblers and linker should be compiled with the same
case sensitivity option.