home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 200-299 / ff287.lzh / DAsm / README < prev    next >
Text File  |  1989-12-06  |  2KB  |  81 lines

  1.  
  2.     DASM    V2.12
  3.  
  4.     (c)Copyright 1988 Matthew Dillon, All Rights Reserved.
  5.        Freely Distributable (for non-profit) ONLY.  No redistribution
  6.        of any modified text files or redistribution of a subset of the
  7.        source is allowed.
  8.  
  9.        Circumvention of said terms requires the permission of the Author (me)
  10.        via US Mail.
  11.  
  12.        Matthew Dillon
  13.        891 Regal Rd.
  14.        Berkeley, Ca. 94708
  15.  
  16.  
  17. COMPILATION
  18.  
  19.     The source code assumes that integers are LONG WORDS.  All expression
  20.     computation is carried out with 32 bit ints.  Additionaly, the
  21.     correct implementation of STDIO functions is assumed (no translation).
  22.  
  23.     This code will compile with little or no modification on Amiga and UNIX
  24.     systems.
  25.  
  26. CONVERSION TO IBM:
  27.  
  28.     Should be relatively easy.    Most of the code will work if int=16 bits.
  29.  
  30. FEATURES
  31.  
  32.     -relatively fast
  33.     -processor selection (use same assembler for many processors)
  34.     -multi-pass (more than two passes if required)
  35.     -conditional assembly
  36.     -local labels (VERY local labels)
  37.     -macro capability (no stacking limit)
  38.     -symbolic expression capability
  39.     -addressing mode overides
  40.     -arbitrary number of named segments
  41.     -many pseudo-ops for repeat loops, data generation, etc....
  42.     -automatic checksumming accessed via the '...' symbol.
  43.  
  44.  
  45. PROCESSORS
  46.  
  47.       --------------- CURRENTLY SUPPORTED MICROPROCESSORS ---------------
  48.  
  49.  
  50. 6502:        ORDER LSB,MSB   A.b    X.b      Y.b        RelAddr:   .+ilen+offset
  51. 68705:        ORDER MSB,LSB   A.b    X.b            RelAddr:   .+ilen+offset
  52. 6803/HD6303:ORDER MSB,LSB   A.b    B.b      X.w        RelAddr:   .+ilen+offset
  53. 6811:        ORDER MSB,LSB   A.b    B.b      X.w  Y.w  RelAddr:   .+ilen+offset
  54.  
  55.  
  56. ADDRESSING MODES        6502    68705    6803    6811
  57. BYTES                        HD6303
  58.  
  59.  2  implied            x    x    x    x
  60.  2  immediate.8     #byte    x    x    x    x
  61.  3  immediate.16    #word            x    x
  62.  2  byteaddr        byte    x    x    x    x
  63.  2  byteaddr,x        byte,x    x    x    x    x
  64.  2  byteaddr,y        byte,y    x            x
  65.  3  wordaddr        word    x    x    x    x
  66.  3  wordaddr,x        word,x    x    x
  67.  3  wordaddr,y        word,y    x
  68.  2  relative        byte    x    x    x    x
  69.  2  ind.byte.x        (byte,x)    x
  70.  2  ind.byte.y        (byte),y    x
  71.  3  ind.word        (word)      x
  72.  1  0,x         [0],x        x
  73.  2  bitmod        #no,badr        x            baseinst + 2*bitno
  74.  3  bitbramod        #no,badr,rel    x            baseinst + 2*bitno
  75.  
  76. NOTE:    HD6303 instruction extensions over the 6803 are:
  77.         AIM OIM EIM TIM XGDX SLP
  78.  
  79. I believe the 6811 is a superset of the 6803.
  80.  
  81.