A tumblelog CMS built on AJAX, PHP and MySQL.

m68k.php 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <?php
  2. /*************************************************************************************
  3. * m68k.php
  4. * --------
  5. * Author: Benny Baumann (BenBE@omorphia.de)
  6. * Copyright: (c) 2007 Benny Baumann (http://www.omorphia.de/), Nigel McNie (http://qbnz.com/highlighter)
  7. * Release Version: 1.0.7.21
  8. * Date Started: 2007/02/06
  9. *
  10. * Motorola 68000 Assembler language file for GeSHi.
  11. *
  12. * Syntax definition as commonly used by the motorola documentation for the
  13. * MC68HC908GP32 Microcontroller (and maybe others).
  14. *
  15. * CHANGES
  16. * -------
  17. * 2007/06/02 (1.0.0)
  18. * - First Release
  19. *
  20. * TODO (updated 2007/06/02)
  21. * -------------------------
  22. *
  23. *************************************************************************************
  24. *
  25. * This file is part of GeSHi.
  26. *
  27. * GeSHi is free software; you can redistribute it and/or modify
  28. * it under the terms of the GNU General Public License as published by
  29. * the Free Software Foundation; either version 2 of the License, or
  30. * (at your option) any later version.
  31. *
  32. * GeSHi is distributed in the hope that it will be useful,
  33. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  34. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  35. * GNU General Public License for more details.
  36. *
  37. * You should have received a copy of the GNU General Public License
  38. * along with GeSHi; if not, write to the Free Software
  39. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  40. *
  41. ************************************************************************************/
  42. $language_data = array (
  43. 'LANG_NAME' => 'Motorola 68000 Assembler',
  44. 'COMMENT_SINGLE' => array(1 => ';'),
  45. 'COMMENT_MULTI' => array(),
  46. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  47. 'QUOTEMARKS' => array("'", '"'),
  48. 'ESCAPE_CHAR' => '',
  49. 'KEYWORDS' => array(
  50. /*CPU*/
  51. 1 => array(
  52. 'adc','add','ais','aix','and','asl','asr','bcc','bclr','bcs','beq',
  53. 'bge','bgt','bhcc','bhcs','bhi','bhs','bih','bil','bit','ble','blo',
  54. 'bls','blt','bmc','bmi','bms','bne','bpl','bra','brclr','brn',
  55. 'brset','bset','bsr','cbeq','clc','cli','clr','cmp','com','cphx',
  56. 'cpx','daa','dbnz','dec','div','eor','inc','jmp','jsr','lda','ldhx',
  57. 'ldx','lsl','lsr','mov','mul','neg','nop','nsa','ora','psha','pshh',
  58. 'pshx','pula','pulh','pulx','rol','ror','rsp','rti','rts','sbc',
  59. 'sec','sei','sta','sthx','stop','stx','sub','swi','tap','tax','tpa',
  60. 'tst','tsx','txa','txs','wait'
  61. ),
  62. /*registers*/
  63. 2 => array(
  64. 'a','h','x',
  65. 'hx','sp'
  66. ),
  67. /*Directive*/
  68. 3 => array(
  69. '#define','#endif','#else','#ifdef','#ifndef','#include','#undef',
  70. '.db','.dd','.df','.dq','.dt','.dw','.end','.org','equ'
  71. ),
  72. ),
  73. 'SYMBOLS' => array(
  74. ','
  75. ),
  76. 'CASE_SENSITIVE' => array(
  77. GESHI_COMMENTS => true,
  78. 1 => false,
  79. 2 => false,
  80. 3 => false,
  81. ),
  82. 'STYLES' => array(
  83. 'KEYWORDS' => array(
  84. 1 => 'color: #0000ff; font-weight:bold;',
  85. 2 => 'color: #0000ff;',
  86. 3 => 'color: #46aa03; font-weight:bold;'
  87. ),
  88. 'COMMENTS' => array(
  89. 1 => 'color: #adadad; font-style: italic;',
  90. ),
  91. 'ESCAPE_CHAR' => array(
  92. 0 => 'color: #000099; font-weight: bold;'
  93. ),
  94. 'BRACKETS' => array(
  95. 0 => 'color: #0000ff;'
  96. ),
  97. 'STRINGS' => array(
  98. 0 => 'color: #7f007f;'
  99. ),
  100. 'NUMBERS' => array(
  101. 0 => 'color: #dd22dd;'
  102. ),
  103. 'METHODS' => array(
  104. ),
  105. 'SYMBOLS' => array(
  106. 0 => 'color: #008000;'
  107. ),
  108. 'REGEXPS' => array(
  109. 0 => 'color: #22bbff;',
  110. 1 => 'color: #22bbff;',
  111. 2 => 'color: #993333;'
  112. ),
  113. 'SCRIPT' => array(
  114. )
  115. ),
  116. 'URLS' => array(
  117. ),
  118. 'OOLANG' => false,
  119. 'OBJECT_SPLITTERS' => array(
  120. ),
  121. 'REGEXPS' => array(
  122. 0 => '#?0[0-9a-fA-F]{1,32}[hH]',
  123. 1 => '\%[01]{1,64}[bB]',
  124. 2 => '^[_a-zA-Z][_a-zA-Z0-9]{0,50}\:'
  125. ),
  126. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  127. 'SCRIPT_DELIMITERS' => array(
  128. ),
  129. 'HIGHLIGHT_STRICT_BLOCK' => array(
  130. ),
  131. 'TAB_WIDTH' => 8
  132. );
  133. ?>