home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Shareware / Twistpad 1.1 / Setup.exe / Syntax / asm.sdf next >
Encoding:
Text File  |  2006-04-29  |  4.2 KB  |  119 lines

  1. ;Assembler Syntax highlight Script for Twistpad
  2. ;1998 - 2006 (C) Carthago Software
  3.  
  4. [::Header::]
  5. SyntaxName=Assembler
  6. Extensions=asm
  7. Spelling=0 
  8. SpellingContexts=1;2
  9.  
  10. [comment]
  11. Type=StartStop
  12. Context=1
  13. Priority=10
  14. Scope=0
  15. WholeWordOnly=0
  16. First=;
  17. Last=
  18. Background=Default
  19. Foreground=008000
  20.  
  21. [string]
  22. Type=StartStop
  23. Context=2
  24. Scope=0
  25. Priority=9
  26. WholeWordOnly=0
  27. First="
  28. Last="
  29. Background=Default
  30. Foreground=408080
  31.  
  32. [string1]
  33. Type=StartStop
  34. Context=2
  35. Scope=0
  36. Priority=9
  37. WholeWordOnly=0
  38. First='
  39. Last='
  40. Background=Default
  41. Foreground=408080
  42.  
  43. [Instruction Prefixes]
  44. Type=keyword
  45. Context=101
  46. Scope=0
  47. Priority=6
  48. WholeWordOnly=1
  49. Keyword1=LOCK;REP;REPE;REPNE;REPNZ;REPZ
  50. Background=Default
  51. Foreground=0000FF
  52.  
  53. [Processor Instructions]
  54. Type=keyword
  55. Context=102
  56. Scope=0
  57. Priority=7
  58. WholeWordOnly=1
  59. Keyword1=AAA;AAD;AAM;AAS;ADC;ADX;ADD;AND;APPL;BOUND;BSF;BSR;BSWAP;BT;BTC;BTR;BTS;CALL;CBW;CDQ;CLC;CLD;CLI
  60. Keyword2=CLTS;CMC;CMP;CMPS;CMPSB;CMPSD;CMPSW;CMPXCHG;CWD;CWDE;DAA;DAS;DEC;DIV;ENTER;ESC;HLT;IDIV;IMUL;IN;INC
  61. Keyword3=INS;INSB;INSD;INSW;INT;INTO;INVD;INVLPG;IRET;IRETD;IRETDF;IRETF;JA;JAE;JB;JBE;JC;JCXZ;JE;JECXZ;JG
  62. Keyword4=JGE;JL;JLE;JMP;JNA;JNAE;JNB;JNBE;JNC;JNE;JNG;JNGE;JNL;JNLE;JNO;JNP;JNS;JNZ;JO;JP;JPE;JS;JZ;LAHF;LAR
  63. Keyword5=LDS;LEA;LEAVE;LES;LFS;LGDT;LGS;LIDT;LLDT;LMSW;LODS;LODSB;LODSD;LODSW;LOOP;LOPD;LOOPE;LOOPED;LOOPEW
  64. Keyword6=LOOPNE;LOOPNED;LOOPNEW;LOOPNZ;LOOPNZD;LOOPNZW;LOOPW;LOOPZ;LOOPZD;LOOPZW;LSL;LSS;LTR;MOV;MOVS;MOVSB;MOVSD
  65. Keyword7=MOVSW;MOVSX;MOVZX;MUL;NEG;NOP;NOT;OR;OUT;OUTS;OUTSB;OUTSD;OUTSW;POP;POPA;POPAD;POPF;POPFD;PUSH;PUSHA;PUSHAD;PUSHD;PUSHF;PUSHFD;PUSHW
  66. Keyword8=RCL;RCR;RET;RETF;RETN;ROL;ROR;SAHF;SAL;SAR;SBB;SCAS;SCASB;SCASD;SCASW;SETA;SETAE;SETB;SETBE;SETC;SETE;SETG;SETGE;SETL;SETLE
  67. Keyword9=SETNA;SETNAE;SETNB;SETNC;SETNE;SETNG;SETNGE;SETNL;SETNLE;SETNO;SETNP;SETNS;SETNZ;SETO;SETP;SETPE;SETPO;SETS;SETZ;SIDT;SGDT;SHL;SHLD;SHR
  68. Keyword10=SHRD;SLDT;SMSW;STR;NTC;STD;STI;STOS;STOSD;STOSB;STOSW;SUB;TEST;VERR;VERW;WAIT;WBINVD;XCHG;XLAT;XLATB;XOR;XADD
  69. Background=Default
  70. Foreground=FF8000
  71.  
  72. [Coprocessor Instructions]
  73. Type=keyword
  74. Context=103
  75. Scope=0
  76. Priority=7
  77. WholeWordOnly=1
  78. Keyword1=F2XMI;FABS;FADD;FADDP;FBLD;FBSTP;FCHS;FCLEX;FCOM;FCOMP;FCOMPP;FDECSTP;FDISI;FDIV;FDIVP;FDIVR;FDIVRP;FENI;FFREE;FIADD;FICOM;FICOMP
  79. Keyword2=FIDIV;FIDIVR;FILD;FIMUL;FINCSTP;FINIT;FIST;FISTP;FISUB;FISUBR;FLD;FLD1;FLDCW;FLDENV;FLDENVW;FLD2E;FLDL2T;FLDLG2;FLDLN2;FLDPI;FLDZ;FMUL
  80. Keyword3=FMULP;FNCLEX;FNDISI;FNENI;FNINT;FNOP;FNSAVE;FNSAVEW;FNSTCW;FNSTENV;FNSTENVW;FNSTSW;FPATAN;FPREM;FPTAN;FRNDINT;FRSTOR;FRSTORW;FSAVE;FSAVEW;FSCALE;FSQRT;FST;FSTCW;FSTENV;FSTENVW;FSTP;FSTSW;FSUB;FSUBP;FSUBBR
  81. Keyword4=FSUBBRP;FTST;FWAIT;FXAM;FXCH;FXTRACT;FYL2X;FYL2XPI;FSETPM;FCOS;FLDENVD;FNSAVED;FNSTENVD;FRSTORD;FSAVED;FSIN;FSINCOS;FSTENVD;FUCOM;FUCOMP;FUCOMPP
  82. Background=Default
  83. Foreground=FF0080
  84.  
  85. [Registers]
  86. Type=keyword
  87. Context=104
  88. Scope=0
  89. Priority=7
  90. WholeWordOnly=1
  91. Keyword1=EAX;EBX;ECX;EDX;ESI;EDI;EBP;ESP;EIP;FS;GS;AX;AL;AH;BX;BL;BH;CX;CL;CH;DX;DL;DH;ES;DS;CS;SP;SS;BP;IP;SI;DI;
  92. Background=Default
  93. Foreground=6F6F6F
  94.  
  95. [Compiler Directives]
  96. Type=keyword
  97. Context=105
  98. Scope=0
  99. Priority=7
  100. WholeWordOnly=1
  101. Keyword1=.286;.386;.486;.code;.data;.model;.stack;ASSUME;BYTE;COMPACT;DB;DD;DOSSEG;DUP;DW;DWORD;END;ENDM;ENDP
  102. Keyword2=ENDS;EQU;EXTERN;FAR;HUGE;LARGE;LOCAL;MACRO;MEDIUM;NEAR;OFFSET;ORG;PARA;PROC;PTR;PUBLIC;SEG;SEGMENT;SMALL
  103. Keyword3=STACK;TINY;USES;WORD;
  104. Background=Default
  105. Foreground=FF0000
  106.  
  107. [Reserved Words]
  108. Type=keyword
  109. Context=106
  110. Scope=0
  111. Priority=7
  112. WholeWordOnly=1
  113. Keyword1=@B;@F;ABS;ADDR;ALL;ASSUMES;AT;BASIC;BYTE;C;CARRY?;CASEMAP;COMMON;COMPACT;CPU;DOTNAME;DWORD;EMULATOR;EPILOGUE;ERROR;EXPORT;EXPR16;EXPR32;FAR
  114. Keyword2=FAR16;FARSTACK;FLAT;FORCEFRAME;FORTRAN;FWORD;HUGH;LABEL;LANGUAGE;LARGE;LISTING;LJMP;LOADDS;M510;MEDIUM;MEMORY;NEAR;NEAR16;NEARSTACK;NODOTNAME;NOEMULATOR;NOKEYWORD;NOLJMP;NOM510
  115. Keyword3=NONE;NONUNIQUE;NOOLDMACROS;NOOLDSTRUTS;NOREADONLY;NOSCOPED;NOSIGNEXTENDED;NOTHING;NOTPUBLIC;OLDMACROS;OLDSTRUTS;OS_DOS;OVERFLOW;PARA;PARITY?;PASCAL
  116. Keyword4=PRIVATE;PROLOGUE;QWORD;RADIX;READONLY;REAL10;REAL4;REAL8;REQ;SBYTE;SCOPED;SDWORD;SETIF2;SIGN;SMALL;STACK;STDCALL;SWORD;SYSCALL;TBYTE;TINY;SE16;USE32;VARARG;WORD;ZERO
  117. Background=Default
  118. Foreground=000080
  119.