z80.php

gehe zur Dokumentation dieser Datei
00001 <?php
00002 /*************************************************************************************
00003  * z80.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  * ZiLOG Z80 Assembler language file for GeSHi.
00011  * Syntax definition as commonly used with table assembler TASM32
00012  * This file will contain some undocumented opcodes.
00013  *
00014  * CHANGES
00015  * -------
00016  * 2007/06/03 (1.0.1)
00017  *   -  Fixed two typos in the language file
00018  * 2007/02/06 (1.0.0)
00019  *   -  First Release
00020  *
00021  * TODO (updated 2007/02/06)
00022  * -------------------------
00023  *
00024  *************************************************************************************
00025  *
00026  *     This file is part of GeSHi.
00027  *
00028  *   GeSHi is free software; you can redistribute it and/or modify
00029  *   it under the terms of the GNU General Public License as published by
00030  *   the Free Software Foundation; either version 2 of the License, or
00031  *   (at your option) any later version.
00032  *
00033  *   GeSHi is distributed in the hope that it will be useful,
00034  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00035  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00036  *   GNU General Public License for more details.
00037  *
00038  *   You should have received a copy of the GNU General Public License
00039  *   along with GeSHi; if not, write to the Free Software
00040  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00041  *
00042  ************************************************************************************/
00043 
00044 $language_data = array (
00045      'LANG_NAME' => 'ZiLOG Z80 Assembler',
00046      'COMMENT_SINGLE' => array(1 => ';'),
00047      'COMMENT_MULTI' => array(),
00048      'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
00049      'QUOTEMARKS' => array("'", '"'),
00050      'ESCAPE_CHAR' => '',
00051      'KEYWORDS' => array(
00052           /*CPU*/
00053           1 => array(
00054                'adc','add','and','bit','call','ccf','cp','cpd','cpdr','cpir','cpi',
00055                'cpl','daa','dec','di','djnz','ei','ex','exx','halt','im','in',
00056                'in0','inc','ind','indr','inir','ini','jp','jr','ld','ldd','lddr',
00057                'ldir','ldi','mlt','neg','nop','or','otdm','otdmr','otdr','otim',
00058                'otimr','otir','out','out0','outd','outi','pop','push','res','ret',
00059                'reti','retn','rl','rla','rlc','rlca','rld','rr','rra','rrc','rrca',
00060                'rrd','rst','sbc','scf','set','sla','sl1','sll','slp','sra','srl',
00061                'sub','tst','tstio','xor'
00062                ),
00063           /*registers*/
00064           2 => array(
00065                'a','b','c','d','e','h','l',
00066                'af','bc','de','hl','ix','iy','sp',
00067                'af\'','ixh','ixl','iyh','iyl'
00068                ),
00069           /*Directive*/
00070           3 => array(
00071                '#define','#endif','#else','#ifdef','#ifndef','#include','#undef',
00072                '.db','.dd','.df','.dq','.dt','.dw','.end','.org','equ'
00073               ),
00074           ),
00075      'SYMBOLS' => array(
00076           '[', ']', '(', ')', '?', '+', '-', '*', '/', '%', '$'
00077           ),
00078      'CASE_SENSITIVE' => array(
00079           GESHI_COMMENTS => true,
00080           1 => false,
00081           2 => false,
00082           3 => false,
00083           ),
00084      'STYLES' => array(
00085           'KEYWORDS' => array(
00086                1 => 'color: #0000ff; font-weight:bold;',
00087                2 => 'color: #0000ff;',
00088                3 => 'color: #46aa03; font-weight:bold;'
00089                ),
00090           'COMMENTS' => array(
00091                1 => 'color: #adadad; font-style: italic;',
00092                ),
00093           'ESCAPE_CHAR' => array(
00094                0 => 'color: #000099; font-weight: bold;'
00095                ),
00096           'BRACKETS' => array(
00097                0 => 'color: #0000ff;'
00098                ),
00099           'STRINGS' => array(
00100                0 => 'color: #7f007f;'
00101                ),
00102           'NUMBERS' => array(
00103                0 => 'color: #dd22dd;'
00104                ),
00105           'METHODS' => array(
00106                ),
00107           'SYMBOLS' => array(
00108                0 => 'color: #008000;'
00109                ),
00110           'REGEXPS' => array(
00111                0 => 'color: #22bbff;',
00112                1 => 'color: #22bbff;',
00113                2 => 'color: #993333;'
00114                ),
00115           'SCRIPT' => array(
00116                )
00117           ),
00118      'URLS' => array(
00119           ),
00120      'OOLANG' => false,
00121      'OBJECT_SPLITTERS' => array(
00122           ),
00123      'REGEXPS' => array(
00124           0 => '0[0-9a-fA-F]{1,32}[hH]',
00125           1 => '\%[01]{1,64}[bB]',
00126           2 => '^[_a-zA-Z][_a-zA-Z0-9]{0,50}\:'
00127           ),
00128      'STRICT_MODE_APPLIES' => GESHI_NEVER,
00129      'SCRIPT_DELIMITERS' => array(
00130           ),
00131      'HIGHLIGHT_STRICT_BLOCK' => array(
00132         ),
00133     'TAB_WIDTH' => 8
00134 );
00135 
00136 ?>

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