File geshi/geshi/m68k.php
Last commit: Fri Nov 23 00:12:00 2007 +0100 dankert Farbige Darstellung von Code-Bl?cken mit Hilfe der Bibliothek GESHI.
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.20 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 43 $language_data = array ( 44 'LANG_NAME' => 'Motorola 68000 Assembler', 45 'COMMENT_SINGLE' => array(1 => ';'), 46 'COMMENT_MULTI' => array(), 47 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 48 'QUOTEMARKS' => array("'", '"'), 49 'ESCAPE_CHAR' => '', 50 'KEYWORDS' => array( 51 /*CPU*/ 52 1 => array( 53 'adc','add','ais','aix','and','asl','asr','bcc','bclr','bcs','beq', 54 'bge','bgt','bhcc','bhcs','bhi','bhs','bih','bil','bit','ble','blo', 55 'bls','blt','bmc','bmi','bms','bne','bpl','bra','brclr','brn', 56 'brset','bset','bsr','cbeq','clc','cli','clr','cmp','com','cphx', 57 'cpx','daa','dbnz','dec','div','eor','inc','jmp','jsr','lda','ldhx', 58 'ldx','lsl','lsr','mov','mul','neg','nop','nsa','ora','psha','pshh', 59 'pshx','pula','pulh','pulx','rol','ror','rsp','rti','rts','sbc', 60 'sec','sei','sta','sthx','stop','stx','sub','swi','tap','tax','tpa', 61 'tst','tsx','txa','txs','wait' 62 ), 63 /*registers*/ 64 2 => array( 65 'a','h','x', 66 'hx','sp' 67 ), 68 /*Directive*/ 69 3 => array( 70 '#define','#endif','#else','#ifdef','#ifndef','#include','#undef', 71 '.db','.dd','.df','.dq','.dt','.dw','.end','.org','equ' 72 ), 73 ), 74 'SYMBOLS' => array( 75 ',' 76 ), 77 'CASE_SENSITIVE' => array( 78 GESHI_COMMENTS => true, 79 1 => false, 80 2 => false, 81 3 => false, 82 ), 83 'STYLES' => array( 84 'KEYWORDS' => array( 85 1 => 'color: #0000ff; font-weight:bold;', 86 2 => 'color: #0000ff;', 87 3 => 'color: #46aa03; font-weight:bold;' 88 ), 89 'COMMENTS' => array( 90 1 => 'color: #adadad; font-style: italic;', 91 ), 92 'ESCAPE_CHAR' => array( 93 0 => 'color: #000099; font-weight: bold;' 94 ), 95 'BRACKETS' => array( 96 0 => 'color: #0000ff;' 97 ), 98 'STRINGS' => array( 99 0 => 'color: #7f007f;' 100 ), 101 'NUMBERS' => array( 102 0 => 'color: #dd22dd;' 103 ), 104 'METHODS' => array( 105 ), 106 'SYMBOLS' => array( 107 0 => 'color: #008000;' 108 ), 109 'REGEXPS' => array( 110 0 => 'color: #22bbff;', 111 1 => 'color: #22bbff;', 112 2 => 'color: #993333;' 113 ), 114 'SCRIPT' => array( 115 ) 116 ), 117 'URLS' => array( 118 ), 119 'OOLANG' => false, 120 'OBJECT_SPLITTERS' => array( 121 ), 122 'REGEXPS' => array( 123 0 => '#?0[0-9a-fA-F]{1,32}[hH]', 124 1 => '\%[01]{1,64}[bB]', 125 2 => '^[_a-zA-Z][_a-zA-Z0-9]{0,50}\:' 126 ), 127 'STRICT_MODE_APPLIES' => GESHI_NEVER, 128 'SCRIPT_DELIMITERS' => array( 129 ), 130 'HIGHLIGHT_STRICT_BLOCK' => array( 131 ), 132 'TAB_WIDTH' => 8 133 ); 134 135 ?>
Downloadgeshi/geshi/m68k.php
History Fri, 23 Nov 2007 00:12:00 +0100 dankert Farbige Darstellung von Code-Bl?cken mit Hilfe der Bibliothek GESHI.