Welcome

The Linker Description

-... Building ASxxxx and ASlink

    -... Building an Assembler
    -... Building ASlink

    -... Go to Documentation Index

   The assemblers and linker have been successfully compiled us-
ing  the  DECUS C  (PDP-11)  compiler  (patch  level   9)   with
RT-11/TSX+,  Eyring  Research  Institute,  Inc.   PDOS (680x0) C
V5.4b compiler, and Symantec C/C++ V6.1/V7.2.  

   The  device  specific  header  file  (i.e.  m6800.h, m6801.h,
etc.) contains the DECUS C 'BUILD' directives for  generating  a
command  file to compile, assemble, and link the necessary files
to prepare an executable image for a particular assembler.  

   The required option, definition, and .mak files for building
the assemblers with the Symantec C/C++ V6.1/V7.2 Compilers are
included in the \asxmak directory of the PC distribution.

-... Building an Assembler

   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.  

=> Section Index

-... Building ASlink

   The building of the linker requires the following files:  

     1.  ASLINK.H 
     2.  LKMAIN.C 
     3.  LKLEX.C 
     4.  LKAREA.C 
     5.  LKHEAD.C 
     6.  LKSYM.C 
     7.  LKEVAL.C 
     8.  LKDATA.C 
     9.  LKLIST.C 
    10.  LKRLOC.C 
    11.  LKLIBR.C 
    12.  LKS19.C 
    13.  LKIHX.C 

=> Section Index

... Exit the ASxxxx Documentation

... Home Page