home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / nasm097.zip / MISC / EXASM.ZIP / XASM.AML < prev    next >
Text File  |  1980-09-13  |  3KB  |  57 lines

  1. //--------------------------------------------------------------------
  2. // XASM.AML
  3. // Syntax highlighting for NASM assembly language files (asm, inc)
  4. //
  5. // After making changes, save this file and compile with <shift f10>.
  6. //--------------------------------------------------------------------
  7.  
  8. include bootpath "define.aml"
  9.  
  10. // note: this color scheme was designed for use with a black background
  11.  
  12.    regcolor = white                     // color of registers
  13.    mnecolor = cyan                      // color of mnemonics
  14.   fmnecolor = brightblue                // color of fpu mnemonics
  15.     udcolor = brightmagenta             // color of undocumented mnemonics
  16.    mcrcolor = brightblue                // color of macro keywords
  17.   datacolor = green                     // color of data mnemonics
  18.     cwcolor = yellow                    // color of control words
  19.    dircolor = red                       // color of directives
  20.  
  21. include bootpath "syn\\xasm_reg.aml"    // list of registers
  22. include bootpath "syn\\xasm_mne.aml"    // list of mnemonics
  23. include bootpath "syn\\xasm_fmn.aml"    // list of fpu mnemonics
  24. include bootpath "syn\\xasm_mcr.aml"    // list of macro keywords
  25. include bootpath "syn\\xasm_xtr.aml"    // list of other stuff (directives, etc.)
  26.  
  27. syntax
  28.   'bcfin'                         // options:
  29.                                   //   b=show through marked block
  30.                                   //   c=highlight cursor line
  31.                                   //   d=show through closed folds
  32.                                   //   f=use only foreground colors
  33.                                   //   i=ignore keyword case
  34.                                   //   n=highlight numbers
  35.   '~^&|<>/%*+-()'                 // symbol set 1
  36.   '[,]:.{}'                       // symbol set 2
  37.   '\'"$'                          // string characters
  38.   ''                              // string literal char
  39.   ''                              // numeric symbol
  40.   ';'           0                 // eol comment 1 / start column
  41.   ''            0                 // eol comment 2 / start column
  42.   ''            ''                // multi-line comment 1
  43.   ''            ''                // multi-line comment 2
  44.   0                               // number of lines to scan backward
  45.  
  46.  
  47.   // colors
  48.   color white           on black        // not used
  49.   color cyan            on cyan         // math symbols
  50.   color brightgreen     on cyan         // other symbols
  51.   color brightred       on black        // string
  52.   color brightcyan      on black        // numeric
  53.   color brightgreen     on black        // eol comment 1
  54.   color brightgreen     on black        // not used
  55.   color brightgreen     on black        // not used
  56.   color brightgreen     on black        // not used
  57.