2 /*************************************************************************************
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.8.3
8 * Date Started: 2007/02/06
10 * Motorola 68000 Assembler language file for GeSHi.
12 * Syntax definition as commonly used by the motorola documentation for the
13 * MC68HC908GP32 Microcontroller (and maybe others).
17 * 2008/05/23 (1.0.7.22)
18 * - Added description of extra language features (SF#1970248)
22 * TODO (updated 2007/06/02)
23 * -------------------------
25 *************************************************************************************
27 * This file is part of GeSHi.
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.
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.
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
43 ************************************************************************************/
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("'", '"'),
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'
72 '#define','#endif','#else','#ifdef','#ifndef','#include','#undef',
73 '.db','.dd','.df','.dq','.dt','.dw','.end','.org','equ'
79 'CASE_SENSITIVE' => array(
80 GESHI_COMMENTS => false,
87 1 => 'color: #0000ff; font-weight:bold;',
88 2 => 'color: #0000ff;',
89 3 => 'color: #46aa03; font-weight:bold;'
92 1 => 'color: #adadad; font-style: italic;',
94 'ESCAPE_CHAR' => array(
95 0 => 'color: #000099; font-weight: bold;'
98 0 => 'color: #0000ff;'
101 0 => 'color: #7f007f;'
104 0 => 'color: #dd22dd;'
109 0 => 'color: #008000;'
112 0 => 'color: #22bbff;',
113 1 => 'color: #22bbff;',
114 2 => 'color: #993333;'
125 'OBJECT_SPLITTERS' => array(
129 0 => '#?0[0-9a-fA-F]{1,32}[hH]',
131 1 => '\%[01]{1,64}[bB]',
133 2 => '^[_a-zA-Z][_a-zA-Z0-9]*?\:'
135 'STRICT_MODE_APPLIES' => GESHI_NEVER,
136 'SCRIPT_DELIMITERS' => array(
138 'HIGHLIGHT_STRICT_BLOCK' => array(