home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / progasm / asmlib1.arj / ROUTINES.DOC < prev    next >
Encoding:
Text File  |  1991-06-01  |  1.3 KB  |  31 lines

  1.  A86 assembler library            (in the directory A86)
  2.  Wilf Hey
  3.  
  4.  This is much of my personal assembler library for building COM programs;
  5.  I use A86 (which I highly recommend); contact Shareware Publishing for
  6.  a fully-working evaluation copy of A86 and its companion debugger, D86
  7.  (ring them on 0297 24088).
  8.         The way I have composed things, I always assemble a COM program
  9.  as follows:
  10.                 A86  MACROS.8   myprog.8   ROUTINES.8   myprog
  11.  
  12.         This will produce a COM program of the desired name.  Using a
  13.  method cribbed from various C compilers, the routines will not be
  14.  assembled into the program unless they are referred to (by the macros).
  15.         The documentation is terse but (I hope) understandable - read it
  16.  from the MACROS.8 file - though it is also in ROUTINES.8.
  17.  
  18.         All my programs start with something like:
  19.  
  20.                 C   "(c) UK 1991  Wilf Hey"
  21.  
  22.         This generates a copyright message AND the ORG 0100 necessary
  23.  for creating a COM.  I include a SHELL.8 file here - a sort of skeletal
  24.  program to demonstrate how to get started.
  25.  
  26.         By the way, I always operate A86 with the standard that a leading
  27.  zero signifies hexadecimal, and the environment (SET) parameter as
  28.  SET A86=+E&
  29.  
  30.         I would welcome comments, additions, and corrections.
  31.