m68k.php

gehe zur Dokumentation dieser Datei
00001 <?php
00002 /*************************************************************************************
00003  * m68k.php
00004  * --------
00005  * Author: Benny Baumann (BenBE@omorphia.de)
00006  * Copyright: (c) 2007 Benny Baumann (http://www.omorphia.de/), Nigel McNie (http://qbnz.com/highlighter)
00007  * Release Version: 1.0.7.20
00008  * Date Started: 2007/02/06
00009  *
00010  * Motorola 68000 Assembler language file for GeSHi.
00011  *
00012  * Syntax definition as commonly used by the motorola documentation for the
00013  * MC68HC908GP32 Microcontroller (and maybe others).
00014  *
00015  * CHANGES
00016  * -------
00017  * 2007/06/02 (1.0.0)
00018  *   -  First Release
00019  *
00020  * TODO (updated 2007/06/02)
00021  * -------------------------
00022  *
00023  *************************************************************************************
00024  *
00025  *     This file is part of GeSHi.
00026  *
00027  *   GeSHi is free software; you can redistribute it and/or modify
00028  *   it under the terms of the GNU General Public License as published by
00029  *   the Free Software Foundation; either version 2 of the License, or
00030  *   (at your option) any later version.
00031  *
00032  *   GeSHi is distributed in the hope that it will be useful,
00033  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00034  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00035  *   GNU General Public License for more details.
00036  *
00037  *   You should have received a copy of the GNU General Public License
00038  *   along with GeSHi; if not, write to the Free Software
00039  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00040  *
00041  ************************************************************************************/
00042 
00043 $language_data = array (
00044      'LANG_NAME' => 'Motorola 68000 Assembler',
00045      'COMMENT_SINGLE' => array(1 => ';'),
00046      'COMMENT_MULTI' => array(),
00047      'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
00048      'QUOTEMARKS' => array("'", '"'),
00049      'ESCAPE_CHAR' => '',
00050      'KEYWORDS' => array(
00051           /*CPU*/
00052           1 => array(
00053                'adc','add','ais','aix','and','asl','asr','bcc','bclr','bcs','beq',
00054                'bge','bgt','bhcc','bhcs','bhi','bhs','bih','bil','bit','ble','blo',
00055                'bls','blt','bmc','bmi','bms','bne','bpl','bra','brclr','brn',
00056                'brset','bset','bsr','cbeq','clc','cli','clr','cmp','com','cphx',
00057                'cpx','daa','dbnz','dec','div','eor','inc','jmp','jsr','lda','ldhx',
00058                'ldx','lsl','lsr','mov','mul','neg','nop','nsa','ora','psha','pshh',
00059                'pshx','pula','pulh','pulx','rol','ror','rsp','rti','rts','sbc',
00060                'sec','sei','sta','sthx','stop','stx','sub','swi','tap','tax','tpa',
00061                'tst','tsx','txa','txs','wait'
00062           ),
00063           /*registers*/
00064           2 => array(
00065                'a','h','x',
00066                'hx','sp'
00067                ),
00068           /*Directive*/
00069           3 => array(
00070                '#define','#endif','#else','#ifdef','#ifndef','#include','#undef',
00071                '.db','.dd','.df','.dq','.dt','.dw','.end','.org','equ'
00072                ),
00073           ),
00074      'SYMBOLS' => array(
00075           ','
00076           ),
00077      'CASE_SENSITIVE' => array(
00078           GESHI_COMMENTS => true,
00079           1 => false,
00080           2 => false,
00081           3 => false,
00082           ),
00083      'STYLES' => array(
00084           'KEYWORDS' => array(
00085                1 => 'color: #0000ff; font-weight:bold;',
00086                2 => 'color: #0000ff;',
00087                3 => 'color: #46aa03; font-weight:bold;'
00088                ),
00089           'COMMENTS' => array(
00090                1 => 'color: #adadad; font-style: italic;',
00091                ),
00092           'ESCAPE_CHAR' => array(
00093                0 => 'color: #000099; font-weight: bold;'
00094                ),
00095           'BRACKETS' => array(
00096                0 => 'color: #0000ff;'
00097                ),
00098           'STRINGS' => array(
00099                0 => 'color: #7f007f;'
00100                ),
00101           'NUMBERS' => array(
00102                0 => 'color: #dd22dd;'
00103                ),
00104           'METHODS' => array(
00105                ),
00106           'SYMBOLS' => array(
00107                0 => 'color: #008000;'
00108                ),
00109           'REGEXPS' => array(
00110                0 => 'color: #22bbff;',
00111                1 => 'color: #22bbff;',
00112                2 => 'color: #993333;'
00113                ),
00114           'SCRIPT' => array(
00115                )
00116           ),
00117      'URLS' => array(
00118           ),
00119      'OOLANG' => false,
00120      'OBJECT_SPLITTERS' => array(
00121           ),
00122      'REGEXPS' => array(
00123           0 => '#?0[0-9a-fA-F]{1,32}[hH]',
00124           1 => '\%[01]{1,64}[bB]',
00125           2 => '^[_a-zA-Z][_a-zA-Z0-9]{0,50}\:'
00126           ),
00127      'STRICT_MODE_APPLIES' => GESHI_NEVER,
00128      'SCRIPT_DELIMITERS' => array(
00129           ),
00130      'HIGHLIGHT_STRICT_BLOCK' => array(
00131         ),
00132     'TAB_WIDTH' => 8
00133 );
00134 
00135 ?>

Erzeugt am Thu May 14 00:55:48 2009 für OpenRat von  doxygen 1.5.8