Codulle - L'explorateur de code sources

Accueil>> AlBulle >> Albulle1.0rc1 >> datas

Informations fichier

Nom du fichier : asm.php
Taille du fichier : 8 Ko (201 lignes)
Language : PHP

  1. span style="color: #808080; font-style: italic;">/*************************************************************************************
  2. * asm.php
  3. * -------
  4. * Author: Tux (tux@inmail.cz)
  5. * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
  6. * Release Version: 1.0.7.5
  7. * CVS Revision Version: $Revision: 1.6 $
  8. * Date Started: 2004/07/27
  9. * Last Modified: $Date: 2005/11/19 02:26:32 $
  10. *
  11. * x86 Assembler language file for GeSHi.
  12. * Words are from SciTe configuration file (based on NASM syntax)
  13. *
  14. * CHANGES
  15. * -------
  16. * 2004/11/27 (1.0.2)
  17. * - Added support for multiple object splitters
  18. * 2004/10/27 (1.0.1)
  19. * - Added support for URLs
  20. * - Added binary and hexadecimal regexps
  21. * 2004/08/05 (1.0.0)
  22. * - First Release
  23. *
  24. * TODO (updated 2004/11/27)
  25. * -------------------------
  26. *
  27. *************************************************************************************
  28. *
  29. * This file is part of GeSHi.
  30. *
  31. * GeSHi is free software; you can redistribute it and/or modify
  32. * it under the terms of the GNU General Public License as published by
  33. * the Free Software Foundation; either version 2 of the License, or
  34. * (at your option) any later version.
  35. *
  36. * GeSHi is distributed in the hope that it will be useful,
  37. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  38. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  39. * GNU General Public License for more details.
  40. *
  41. * You should have received a copy of the GNU General Public License
  42. * along with GeSHi; if not, write to the Free Software
  43. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  44. *
  45. ************************************************************************************/'LANG_NAME' => 'assembler',
  46. 'COMMENT_SINGLE'';'),
  47. 'COMMENT_MULTI''CASE_KEYWORDS''QUOTEMARKS'"'", '"'),
  48. 'ESCAPE_CHAR' => '',
  49. 'KEYWORDS'/*CPU*/'aaa','aad','aam','aas','adc','add','and','call','cbw','clc','cld','cli','cmc','cmp',
  50. 'cmps','cmpsb','cmpsw','cwd','daa','das','dec','div','esc','hlt','idiv','imul','in','inc',
  51. 'int','into','iret','ja','jae','jb','jbe','jc','jcxz','je','jg','jge','jl','jle','jmp',
  52. 'jna','jnae','jnb','jnbe','jnc','jne','jng','jnge','jnl','jnle','jno','jnp','jns','jnz',
  53. 'jo','jp','jpe','jpo','js','jz','lahf','lds','lea','les','lods','lodsb','lodsw','loop',
  54. 'loope','loopew','loopne','loopnew','loopnz','loopnzw','loopw','loopz','loopzw','mov',
  55. 'movs','movsb','movsw','mul','neg','nop','not','or','out','pop','popf','push','pushf',
  56. 'rcl','rcr','ret','retf','retn','rol','ror','sahf','sal','sar','sbb','scas','scasb','scasw',
  57. 'shl','shr','stc','std','sti','stos','stosb','stosw','sub','test','wait','xchg','xlat',
  58. 'xlatb','xor','bound','enter','ins','insb','insw','leave','outs','outsb','outsw','popa','pusha','pushw',
  59. 'arpl','lar','lsl','sgdt','sidt','sldt','smsw','str','verr','verw','clts','lgdt','lidt','lldt','lmsw','ltr',
  60. 'bsf','bsr','bt','btc','btr','bts','cdq','cmpsd','cwde','insd','iretd','iretdf','iretf',
  61. 'jecxz','lfs','lgs','lodsd','loopd','looped','loopned','loopnzd','loopzd','lss','movsd',
  62. 'movsx','movzx','outsd','popad','popfd','pushad','pushd','pushfd','scasd','seta','setae',
  63. 'setb','setbe','setc','sete','setg','setge','setl','setle','setna','setnae','setnb','setnbe',
  64. 'setnc','setne','setng','setnge','setnl','setnle','setno','setnp','setns','setnz','seto','setp',
  65. 'setpe','setpo','sets','setz','shld','shrd','stosd','bswap','cmpxchg','invd','invlpg','wbinvd','xadd','lock',
  66. 'rep','repe','repne','repnz','repz'
  67. ),
  68. /*FPU*/'f2xm1','fabs','fadd','faddp','fbld','fbstp','fchs','fclex','fcom','fcomp','fcompp','fdecstp',
  69. 'fdisi','fdiv','fdivp','fdivr','fdivrp','feni','ffree','fiadd','ficom','ficomp','fidiv',
  70. 'fidivr','fild','fimul','fincstp','finit','fist','fistp','fisub','fisubr','fld','fld1',
  71. 'fldcw','fldenv','fldenvw','fldl2e','fldl2t','fldlg2','fldln2','fldpi','fldz','fmul',
  72. 'fmulp','fnclex','fndisi','fneni','fninit','fnop','fnsave','fnsavew','fnstcw','fnstenv',
  73. 'fnstenvw','fnstsw','fpatan','fprem','fptan','frndint','frstor','frstorw','fsave',
  74. 'fsavew','fscale','fsqrt','fst','fstcw','fstenv','fstenvw','fstp','fstsw','fsub','fsubp',
  75. 'fsubr','fsubrp','ftst','fwait','fxam','fxch','fxtract','fyl2x','fyl2xp1',
  76. 'fsetpm','fcos','fldenvd','fnsaved','fnstenvd','fprem1','frstord','fsaved','fsin','fsincos',
  77. 'fstenvd','fucom','fucomp','fucompp'
  78. ),
  79. /*registers*/'ah','al','ax','bh','bl','bp','bx','ch','cl','cr0','cr2','cr3','cs','cx','dh','di','dl',
  80. 'dr0','dr1','dr2','dr3','dr6','dr7','ds','dx','eax','ebp','ebx','ecx','edi','edx',
  81. 'es','esi','esp','fs','gs','si','sp','ss','st','tr3','tr4','tr5','tr6','tr7', 'ah', 'bh', 'ch', 'dh'
  82. ),
  83. /*Directive*/'186','286','286c','286p','287','386','386c','386p','387','486','486p',
  84. '8086','8087','alpha','break','code','const','continue','cref','data','data?',
  85. 'dosseg','else','elseif','endif','endw','err','err1','err2','errb',
  86. 'errdef','errdif','errdifi','erre','erridn','erridni','errnb','errndef',
  87. 'errnz','exit','fardata','fardata?','if','lall','lfcond','list','listall',
  88. 'listif','listmacro','listmacroall',' model','no87','nocref','nolist',
  89. 'nolistif','nolistmacro','radix','repeat','sall','seq','sfcond','stack',
  90. 'startup','tfcond','type','until','untilcxz','while','xall','xcref',
  91. 'xlist','alias','align','assume','catstr','comm','comment','db','dd','df','dosseg','dq',
  92. 'dt','dup','dw','echo','else','elseif','elseif1','elseif2','elseifb','elseifdef','elseifdif',
  93. 'elseifdifi','elseife','elseifidn','elseifidni','elseifnb','elseifndef','end',
  94. 'endif','endm','endp','ends','eq',' equ','even','exitm','extern','externdef','extrn','for',
  95. 'forc','ge','goto','group','high','highword','if','if1','if2','ifb','ifdef','ifdif',
  96. 'ifdifi','ife',' ifidn','ifidni','ifnb','ifndef','include','includelib','instr','invoke',
  97. 'irp','irpc','label','le','length','lengthof','local','low','lowword','lroffset',
  98. 'macro','mask','mod','msfloat','name','ne','offset','opattr','option','org','%out',
  99. 'page','popcontext','proc','proto','ptr','public','purge','pushcontext','record',
  100. 'repeat','rept','seg','segment','short','size','sizeof','sizestr','struc','struct',
  101. 'substr','subtitle','subttl','textequ','this','title','type','typedef','union','while','width',
  102. '.model', '.stack', '.code', '.data'
  103.  
  104. ),
  105.  
  106. /*Operands*/'@b','@f','addr','basic','byte','c','carry?','dword',
  107. 'far','far16','fortran','fword','near','near16','overflow?','parity?','pascal','qword',
  108. 'real4',' real8','real10','sbyte','sdword','sign?','stdcall','sword','syscall','tbyte',
  109. 'vararg','word','zero?','flat','near32','far32',
  110. 'abs','all','assumes','at','casemap','common','compact',
  111. 'cpu','dotname','emulator','epilogue','error','export','expr16','expr32','farstack','flat',
  112. 'forceframe','huge','language','large','listing','ljmp','loadds','m510','medium','memory',
  113. 'nearstack','nodotname','noemulator','nokeyword','noljmp','nom510','none','nonunique',
  114. 'nooldmacros','nooldstructs','noreadonly','noscoped','nosignextend','nothing',
  115. 'notpublic','oldmacros','oldstructs','os_dos','para','private','prologue','radix',
  116. 'readonly','req','scoped','setif2','smallstack','tiny','use16','use32','uses'
  117. )
  118. ),
  119. 'SYMBOLS''[', ']', '(', ')'
  120. ),
  121. 'CASE_SENSITIVE''STYLES''KEYWORDS''color: #00007f;',
  122. 2 => 'color: #0000ff;',
  123. 3 => 'color: #46aa03; font-weight:bold;',
  124. 4 => 'color: #0000ff;',
  125. 5 => 'color: #0000ff;'
  126. ),
  127. 'COMMENTS''color: #adadad; font-style: italic;',
  128. ),
  129. 'ESCAPE_CHAR''color: #000099; font-weight: bold;'
  130. ),
  131. 'BRACKETS''color: #66cc66;'
  132. ),
  133. 'STRINGS''color: #7f007f;'
  134. ),
  135. 'NUMBERS''color: #ff0000;'
  136. ),
  137. 'METHODS''SYMBOLS''color: #66cc66;'
  138. ),
  139. 'REGEXPS''color: #ff0000;',
  140. 1 => 'color: #ff0000;'
  141. ),
  142. 'SCRIPT''URLS''',
  143. 2 => ''
  144. ),
  145. 'OOLANG''OBJECT_SPLITTERS''REGEXPS''[0-9a-fA-F][0-9a-fA-F]*[hH]',
  146. 1 => '[01][01]*[bB]'
  147. ),
  148. 'STRICT_MODE_APPLIES''SCRIPT_DELIMITERS''HIGHLIGHT_STRICT_BLOCK'

Liste des projets

Téléchargez Codulle

Publié par Codulle - v0.1.1 - © Bubulles Creations