home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 April / CHIP4_98.ISO / software / ccconrad / assembler / tasm / addendum.doc < prev    next >
Encoding:
Text File  |  1993-08-15  |  2.5 KB  |  65 lines

  1. Notes on Recent Additions:
  2.  
  3. ENHANCED 6800 FAMILY TABLE TO SUPPORT 68HC11
  4.  
  5. Use the '-x7' (or just 'x') command line option to enable the 68HC11 
  6. instructions.    TASM deviates from standard Motorola syntax for the 
  7. BSET,  BRSET,  BCLR,  and BRCLR instructions.   TASM requires commas 
  8. separating  all arguments.   Motorola assemblers use white space  to 
  9. separate the last one or two arguments for these instructions.  Here 
  10. are examples of each applicable instruction: 
  11.  
  12.         TASM                            MOTOROLA
  13.         ----------------------          --------------------
  14.         BCLR    addr1,Y,bmsk            BCLR    addr1,Y bmsk
  15.         BCLR    addr1,X,bmsk            BCLR    addr1,X bmsk
  16.         BCLR    addr1  ,bmsk            BCLR    addr1   bmsk 
  17.         BSET    addr1,Y,bmsk            BSET    addr1,Y bmsk
  18.         BSET    addr1,X,bmsk            BSET    addr1,X bmsk
  19.         BSET    addr1  ,bmsk            BSET    addr1   bmsk  
  20.  
  21.         BRCLR   addr1,Y,bmsk,lab1       BRCLR   addr1,Y bmsk lab1
  22.         BRCLR   addr1,X,bmsk,lab1       BRCLR   addr1,X bmsk lab1
  23.         BRCLR   addr1  ,bmsk,lab1       BRCLR   addr1   bmsk lab1 
  24.         BRSET   addr1,Y,bmsk,lab1       BRSET   addr1,Y bmsk lab1
  25.         BRSET   addr1,X,bmsk,lab1       BRSET   addr1,X bmsk lab1
  26.         BRSET   addr1  ,bmsk,lab1       BRSET   addr1   bmsk lab1 
  27.  
  28.  
  29. SAMPLE FILES FOR THE SMALL C COMPILER (68HC11)
  30.  
  31. TASM  can  be  used  in conjunction with the public  domain  Small  C 
  32. Compiler  by  J.  Hendrix (as published in Doctor  Dobb's  Journal).  
  33. Unarchive the MISC.ZOO file to access the files of interest: 
  34.  
  35.         booz misc.zoo
  36.  
  37. Refer to the README.C11 file for an explanation of the files.
  38.  
  39.  
  40. IMPROVED ERROR REPORTING
  41.  
  42. All error messages now contain file and line number information.
  43. The format is slightly modified (from pre 2.9.3 releases of TASM)
  44. so as to be compatible with the BRIEF editor.  The BRIEF editor
  45. is capable of performing an assembly from within the editor and
  46. allowing the user to scan to each occurance of an error in the 
  47. source file. 
  48.  
  49. ECHO DIRECTIVE
  50.  
  51. The ECHO directive can be used to send output to the console. It can 
  52. accept a string or an expression, but only one such on each 
  53. invocation.  Consider the following example: 
  54.  
  55.         .ECHO "The size of the table is "
  56.         .ECHO (table_end - table_start +1)
  57.         .ECHO " bytes long.\n"
  58.  
  59. This would result in a single line of output something like this:
  60.  
  61.         The size of the table is 196 bytes long.
  62.  
  63.  
  64.  
  65.