ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_asm68Hc908 Class Reference
+ Inheritance diagram for HFile_asm68Hc908:
+ Collaboration diagram for HFile_asm68Hc908:

Public Member Functions

 HFile_asm68Hc908 ()
 
 donothing ($keywordin)
 

Detailed Description

Definition at line 7 of file HFile_asm68Hc908.php.

Member Function Documentation

◆ donothing()

HFile_asm68Hc908::donothing (   $keywordin)

Definition at line 246 of file HFile_asm68Hc908.php.

247 {
248 return $keywordin;
249 }

◆ HFile_asm68Hc908()

HFile_asm68Hc908::HFile_asm68Hc908 ( )

Definition at line 9 of file HFile_asm68Hc908.php.

10 {
11 $this->HFile();
12 /*************************************/
13 // Beautifier Highlighting Configuration File
14 // 68HC908 ASM
15 /*************************************/
16 // Flags
17
18 $this->nocase = "1";
19 $this->notrim = "0";
20 $this->perl = "0";
21
22 // Colours
23
24 $this->colours = array("blue", "purple", "gray", "brown", "blue");
25 $this->quotecolour = "blue";
26 $this->blockcommentcolour = "green";
27 $this->linecommentcolour = "green";
28
29 // Indent Strings
30
31 $this->indent = array();
32 $this->unindent = array();
33
34 // String characters and delimiters
35
36 $this->stringchars = array();
37 $this->delimiters = array("~", "!", "@", "^", "&", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", "'", "\"", "<", ">", " ", " ", " ", ".", "?");
38 $this->escchar = "";
39
40 // Comment settings
41
42 $this->linecommenton = array(";");
43 $this->blockcommenton = array("");
44 $this->blockcommentoff = array("");
45
46 // Keywords (keyword mapping to colour number)
47
48 $this->keywords = array(
49 ",X" => "1",
50 "ADC" => "1",
51 "ADD" => "1",
52 "AIS" => "1",
53 "AIX" => "1",
54 "AND" => "1",
55 "ASL" => "1",
56 "ASLA" => "1",
57 "ASLX" => "1",
58 "ASR" => "1",
59 "ASRA" => "1",
60 "ASRX" => "1",
61 "BCC" => "1",
62 "BCLR" => "1",
63 "BCS" => "1",
64 "BEQ" => "1",
65 "BGE" => "1",
66 "BGT" => "1",
67 "BHCC" => "1",
68 "BHCS" => "1",
69 "BHI" => "1",
70 "BHS" => "1",
71 "BIH" => "1",
72 "BIL" => "1",
73 "BIT" => "1",
74 "BLE" => "1",
75 "BLO" => "1",
76 "BLS" => "1",
77 "BLT" => "1",
78 "BMC" => "1",
79 "BMI" => "1",
80 "BMS" => "1",
81 "BNE" => "1",
82 "BPL" => "1",
83 "BRA" => "1",
84 "BRCLR" => "1",
85 "BRN" => "1",
86 "BRSET" => "1",
87 "BSET" => "1",
88 "BSR" => "1",
89 "CBEQ" => "1",
90 "CBEQA" => "1",
91 "CBEQX" => "1",
92 "CLC" => "1",
93 "CLI" => "1",
94 "CLR" => "1",
95 "CLRA" => "1",
96 "CLRH" => "1",
97 "CLRX" => "1",
98 "CMP" => "1",
99 "COM" => "1",
100 "COMA" => "1",
101 "COMX" => "1",
102 "CPHX" => "1",
103 "CPX" => "1",
104 "DAA" => "1",
105 "DBNZ" => "1",
106 "DBNZA" => "1",
107 "DBNZXDEC" => "1",
108 "DECA" => "1",
109 "DECX" => "1",
110 "DIV" => "1",
111 "EOR" => "1",
112 "INC" => "1",
113 "INCA" => "1",
114 "INCX" => "1",
115 "JMP" => "1",
116 "JSR" => "1",
117 "LDA" => "1",
118 "LDHX" => "1",
119 "LDX" => "1",
120 "LSL" => "1",
121 "LSLA" => "1",
122 "LSLX" => "1",
123 "LSR" => "1",
124 "LSRA" => "1",
125 "LSRX" => "1",
126 "MOV" => "1",
127 "MUL" => "1",
128 "NEG" => "1",
129 "NOP" => "1",
130 "NSA" => "1",
131 "ORA" => "1",
132 "BeautifierA" => "1",
133 "BeautifierH" => "1",
134 "BeautifierX" => "1",
135 "PULA" => "1",
136 "PULH" => "1",
137 "PULX" => "1",
138 "ROL" => "1",
139 "ROLA" => "1",
140 "ROLX" => "1",
141 "ROR" => "1",
142 "RORA" => "1",
143 "RORX" => "1",
144 "RSP" => "1",
145 "RTI" => "1",
146 "RTS" => "1",
147 "SBC" => "1",
148 "SEC" => "1",
149 "SEI" => "1",
150 "STA" => "1",
151 "STHX" => "1",
152 "STOP" => "1",
153 "STX" => "1",
154 "SUB" => "1",
155 "SWI" => "1",
156 "TAP" => "1",
157 "TAX" => "1",
158 "TPA" => "1",
159 "TST" => "1",
160 "TSTA" => "1",
161 "TSX" => "1",
162 "TXA" => "1",
163 "TXS" => "1",
164 "ADCLK" => "2",
165 "ADR" => "2",
166 "ADSCR" => "2",
167 "BFCR" => "2",
168 "BRKH" => "2",
169 "BRKL" => "2",
170 "BSCR" => "2",
171 "CONFIG1" => "2",
172 "CONFIG2" => "2",
173 "DDRA" => "2",
174 "DDRB" => "2",
175 "DDRD" => "2",
176 "FLCR" => "2",
177 "FLSPR" => "2",
178 "FLTCR" => "2",
179 "INT1" => "2",
180 "INT2" => "2",
181 "INT3" => "2",
182 "INTKBIER" => "2",
183 "INTKBSR" => "2",
184 "INTSCR" => "2",
185 "KBIER" => "2",
186 "KBSCR" => "2",
187 "PDCR" => "2",
188 "PORTA" => "2",
189 "PORTB" => "2",
190 "PORTD" => "2",
191 "PTA" => "2",
192 "PTAUE" => "2",
193 "PTB" => "2",
194 "PTD" => "2",
195 "RSR" => "2",
196 "TCH0H" => "2",
197 "TCH0L" => "2",
198 "TCH1H" => "2",
199 "TCH1L" => "2",
200 "TCNTH" => "2",
201 "TCNTL" => "2",
202 "TMODH" => "2",
203 "TMODL" => "2",
204 "TSC" => "2",
205 "TSC0" => "2",
206 "TSC1" => "2",
207 "X" => "2",
208 "$if" => "3",
209 "$ifndef" => "3",
210 "$SET" => "3",
211 "$SETNOT" => "3",
212 "$endif" => "3",
213 "$include" => "3",
214 "$else" => "3",
215 "FCB" => "4",
216 "FCC" => "4",
217 "FDB" => "4",
218 "DB" => "4",
219 "DS" => "4",
220 "DW" => "4",
221 "EQU" => "4",
222 "ENDM" => "4",
223 "MACRO" => "4",
224 "ORG" => "4",
225 "SETDP" => "4",
226 "#" => "5",
227 "#$" => "5",
228 "#%" => "5");
229
230 // Special extensions
231
232 // Each category can specify a PHP function that returns an altered
233 // version of the keyword.
234
235
236
237 $this->linkscripts = array(
238 "1" => "donothing",
239 "2" => "donothing",
240 "3" => "donothing",
241 "4" => "donothing",
242 "5" => "donothing");
243 }

The documentation for this class was generated from the following file: