[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/vendor/geshi/geshi/src/geshi/ -> m68k.php (source)

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