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

Public Member Functions

 HFile_asm_x86 ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 __construct ()
 
 parse_file ($file)
 
 to_perl ($stub, $tofile=1)
 
 to_php ($stub, $tofile=1)
 
 _get_categories ()
 
 _dump_linkscripts ()
 
 _dump_perl_linkscripts ()
 
 _dump_perl_defaultscripts ()
 
 _dump_colours ()
 
 _dump_var ($variable, $name)
 
 _dump_array ($array, $name)
 
 _dump_perl_array ($array, $name)
 
 _dump_hash ($hash, $name)
 
 _dump_perl_hash ($hash, $name)
 

Detailed Description

Definition at line 7 of file HFile_asm_x86.php.

Member Function Documentation

◆ donothing()

HFile_asm_x86::donothing (   $keywordin)

Definition at line 493 of file HFile_asm_x86.php.

494  {
495  return $keywordin;
496  }

◆ HFile_asm_x86()

HFile_asm_x86::HFile_asm_x86 ( )

Definition at line 9 of file HFile_asm_x86.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // Assembler x86
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "1";
19  $this->notrim = "1";
20  $this->perl = "0";
21 
22  // Colours
23 
24  $this->colours = array("blue", "purple", "gray");
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  "aaa" => "1",
50  "aad" => "1",
51  "aam" => "1",
52  "aas" => "1",
53  "adc" => "1",
54  "add" => "1",
55  "and" => "2",
56  "arpl" => "1",
57  "bound" => "1",
58  "bsf" => "1",
59  "bsr" => "1",
60  "bswap" => "1",
61  "bt" => "1",
62  "btc" => "1",
63  "btr" => "1",
64  "bts" => "1",
65  "call" => "1",
66  "cbw" => "1",
67  "cdq" => "1",
68  "clc" => "1",
69  "cld" => "1",
70  "cli" => "1",
71  "clts" => "1",
72  "cmc" => "1",
73  "cmov" => "1",
74  "cmp" => "1",
75  "cmps" => "1",
76  "cmpsb" => "1",
77  "cmpsd" => "1",
78  "cmpsw" => "1",
79  "cmpxchg" => "1",
80  "cmpxchg8b" => "1",
81  "cpuid" => "1",
82  "cwd" => "1",
83  "cwde" => "1",
84  "daa" => "1",
85  "das" => "1",
86  "dec" => "1",
87  "div" => "1",
88  "emms" => "1",
89  "enter" => "1",
90  "esc" => "1",
91  "fcmov" => "1",
92  "fcomi" => "1",
93  "fwait" => "1",
94  "hlt" => "1",
95  "idiv" => "1",
96  "imul" => "1",
97  "in" => "1",
98  "inc" => "1",
99  "ins" => "1",
100  "insb" => "1",
101  "insd" => "1",
102  "insw" => "1",
103  "int" => "1",
104  "into" => "1",
105  "invd" => "1",
106  "invlpg" => "1",
107  "iret" => "1",
108  "iretd" => "1",
109  "ja" => "1",
110  "jae" => "1",
111  "jb" => "1",
112  "jbe" => "1",
113  "jc" => "1",
114  "jcxz" => "1",
115  "je" => "1",
116  "jecxz" => "1",
117  "jg" => "1",
118  "jge" => "1",
119  "jl" => "1",
120  "jle" => "1",
121  "jmp" => "1",
122  "jna" => "1",
123  "jnae" => "1",
124  "jnb" => "1",
125  "jnbe" => "1",
126  "jnc" => "1",
127  "jne" => "1",
128  "jng" => "1",
129  "jnge" => "1",
130  "jnl" => "1",
131  "jnle" => "1",
132  "jno" => "1",
133  "jnp" => "1",
134  "jns" => "1",
135  "jnz" => "1",
136  "jo" => "1",
137  "jp" => "1",
138  "jpe" => "1",
139  "jpo" => "1",
140  "js" => "1",
141  "jz" => "1",
142  "lahf" => "1",
143  "lar" => "1",
144  "lds" => "1",
145  "lea" => "1",
146  "leave" => "1",
147  "les" => "1",
148  "lfs" => "1",
149  "lgdt" => "1",
150  "lgs" => "1",
151  "lidt" => "1",
152  "lldt" => "1",
153  "lmsw" => "1",
154  "lock" => "1",
155  "lods" => "1",
156  "lodsb" => "1",
157  "lodsd" => "1",
158  "lodsw" => "1",
159  "loop" => "1",
160  "loope" => "1",
161  "loopne" => "1",
162  "loopnz" => "1",
163  "loopz" => "1",
164  "lsl" => "1",
165  "lss" => "1",
166  "ltr" => "1",
167  "mov" => "1",
168  "movd" => "1",
169  "movq" => "1",
170  "movs" => "1",
171  "movsb" => "1",
172  "movsd" => "1",
173  "movsw" => "1",
174  "movsx" => "1",
175  "movzx" => "1",
176  "msw" => "1",
177  "mul" => "1",
178  "neg" => "1",
179  "nop" => "1",
180  "not" => "2",
181  "or" => "2",
182  "out" => "1",
183  "outs" => "1",
184  "outsb" => "1",
185  "outsd" => "1",
186  "outsw" => "1",
187  "packsswb" => "1",
188  "packssdw" => "1",
189  "paddb" => "1",
190  "paddw" => "1",
191  "paddd" => "1",
192  "paddsb" => "1",
193  "paddsw" => "1",
194  "paddusb" => "1",
195  "paddusw" => "1",
196  "pand" => "1",
197  "pandn" => "1",
198  "pcmpeqb" => "1",
199  "pcmpeqw" => "1",
200  "pcmpeqd" => "1",
201  "pcmpgtb" => "1",
202  "pcmpgtw" => "1",
203  "pcmpgtd" => "1",
204  "pmulhw" => "1",
205  "pmullw" => "1",
206  "pmaddwd" => "1",
207  "pop" => "1",
208  "popa" => "1",
209  "popad" => "1",
210  "popf" => "1",
211  "popfd" => "1",
212  "por" => "1",
213  "psllw" => "1",
214  "pslld" => "1",
215  "psllq" => "1",
216  "psrlw" => "1",
217  "psrld" => "1",
218  "psrlq" => "1",
219  "psraw" => "1",
220  "psrad" => "1",
221  "psubb" => "1",
222  "psubw" => "1",
223  "psubd" => "1",
224  "psubsb" => "1",
225  "psubsw" => "1",
226  "psubusb" => "1",
227  "psubusw" => "1",
228  "punpckhbw" => "1",
229  "punpckhwd" => "1",
230  "punpckhdq" => "1",
231  "punpcklbw" => "1",
232  "punpcklwd" => "1",
233  "punpckldq" => "1",
234  "push" => "1",
235  "pusha" => "1",
236  "pushad" => "1",
237  "pushf" => "1",
238  "pushfd" => "1",
239  "pxor" => "1",
240  "rcl" => "1",
241  "rcr" => "1",
242  "rdmsr" => "1",
243  "rdpmc" => "1",
244  "rdtsc" => "1",
245  "rep" => "1",
246  "repe" => "1",
247  "repne" => "1",
248  "repnz" => "1",
249  "repz" => "1",
250  "ret" => "1",
251  "retf" => "1",
252  "retn" => "1",
253  "rol" => "1",
254  "ror" => "1",
255  "rsm" => "1",
256  "sahf" => "1",
257  "sal" => "1",
258  "sar" => "1",
259  "sbb" => "1",
260  "scas" => "1",
261  "scasb" => "1",
262  "scasd" => "1",
263  "scasw" => "1",
264  "setae" => "1",
265  "setb" => "1",
266  "setbe" => "1",
267  "setc" => "1",
268  "sete" => "1",
269  "setg" => "1",
270  "setge" => "1",
271  "setl" => "1",
272  "setle" => "1",
273  "setna" => "1",
274  "setnae" => "1",
275  "setnb" => "1",
276  "setnc" => "1",
277  "setne" => "1",
278  "setng" => "1",
279  "setnge" => "1",
280  "setnl" => "1",
281  "setnle" => "1",
282  "setno" => "1",
283  "setnp" => "1",
284  "setns" => "1",
285  "setnz" => "1",
286  "seto" => "1",
287  "setp" => "1",
288  "setpe" => "1",
289  "setpo" => "1",
290  "sets" => "1",
291  "setz" => "1",
292  "sgdt" => "1",
293  "shl" => "2",
294  "shld" => "1",
295  "shr" => "2",
296  "shrd" => "1",
297  "sidt" => "1",
298  "sldt" => "1",
299  "smsw" => "1",
300  "stc" => "1",
301  "std" => "1",
302  "sti" => "1",
303  "stos" => "1",
304  "stosb" => "1",
305  "stosd" => "1",
306  "stosw" => "1",
307  "str" => "1",
308  "sub" => "1",
309  "test" => "1",
310  "verr" => "1",
311  "verw" => "1",
312  "wbinvd" => "1",
313  "wrmsr" => "1",
314  "xadd" => "1",
315  "xchg" => "1",
316  "xlat" => "1",
317  "xlatb" => "1",
318  "xor" => "2",
319  "%out" => "2",
320  ".186" => "2",
321  ".286" => "2",
322  ".286c" => "2",
323  ".286p" => "2",
324  ".287" => "2",
325  ".386" => "2",
326  ".386p" => "2",
327  ".387" => "2",
328  ".8086" => "2",
329  ".8087" => "2",
330  ".alpha" => "2",
331  ".seq" => "2",
332  ".code" => "2",
333  ".const" => "2",
334  ".cref" => "2",
335  ".data" => "2",
336  ".data?" => "2",
337  ".err" => "2",
338  ".err1" => "2",
339  ".err2" => "2",
340  ".errb" => "2",
341  ".errdef" => "2",
342  ".errdif" => "2",
343  ".erre" => "2",
344  ".fardata" => "2",
345  ".fardata?" => "2",
346  ".lall" => "2",
347  ".lfcond" => "2",
348  ".list" => "2",
349  ".model" => "2",
350  ".msfloat" => "2",
351  ".radix" => "2",
352  ".sall" => "2",
353  ".sfcond" => "2",
354  ".stack" => "2",
355  ".type" => "2",
356  ".xall" => "2",
357  ".xcref" => "2",
358  ".xlist" => "2",
359  "@curseg" => "2",
360  "@filename" => "2",
361  "@code" => "2",
362  "@codesize" => "2",
363  "@datasize" => "2",
364  "@const" => "2",
365  "@data" => "2",
366  "@data?" => "2",
367  "@fardata" => "2",
368  "@fardata?" => "2",
369  "@stack" => "2",
370  "align" => "2",
371  "assume" => "2",
372  "at" => "2",
373  "b" => "2",
374  "byte" => "2",
375  "comm" => "2",
376  "comment" => "2",
377  "common" => "2",
378  "compact" => "2",
379  "d" => "2",
380  "db" => "2",
381  "dd" => "2",
382  "df" => "2",
383  "dosseg" => "2",
384  "dup" => "2",
385  "fq" => "2",
386  "dt" => "2",
387  "dw" => "2",
388  "dword" => "2",
389  "else" => "2",
390  "end" => "2",
391  "endif" => "2",
392  "endm" => "2",
393  "endp" => "2",
394  "ends" => "2",
395  "eq" => "2",
396  "equ" => "2",
397  "even" => "2",
398  "exitm" => "2",
399  "extrn" => "2",
400  "far" => "2",
401  "ge" => "2",
402  "group" => "2",
403  "h" => "2",
404  "high" => "2",
405  "huge" => "2",
406  "ifdef" => "2",
407  "include" => "2",
408  "includelib" => "2",
409  "irp" => "2",
410  "irpc" => "2",
411  "label" => "2",
412  "large" => "2",
413  "le" => "2",
414  "length" => "2",
415  "low" => "2",
416  "local" => "2",
417  "lt" => "2",
418  "macro" => "2",
419  "mask" => "2",
420  "medium" => "2",
421  "memory" => "2",
422  "name" => "2",
423  "near" => "2",
424  "o" => "2",
425  "offset" => "2",
426  "org" => "2",
427  "page" => "2",
428  "para" => "2",
429  "proc" => "2",
430  "public" => "2",
431  "purge" => "2",
432  "q" => "2",
433  "record" => "2",
434  "rept" => "2",
435  "seg" => "2",
436  "segment" => "2",
437  "short" => "2",
438  "size" => "2",
439  "small" => "2",
440  "stack" => "2",
441  "struc" => "2",
442  "subttl" => "2",
443  "this" => "2",
444  "tiny" => "2",
445  "title" => "2",
446  "type" => "2",
447  "use16" => "2",
448  "use32" => "2",
449  "width" => "2",
450  "word" => "2",
451  "ah" => "3",
452  "al" => "3",
453  "ax" => "3",
454  "bh" => "3",
455  "bl" => "3",
456  "bp" => "3",
457  "bx" => "3",
458  "ch" => "3",
459  "cl" => "3",
460  "cs" => "3",
461  "cx" => "3",
462  "dh" => "3",
463  "di" => "3",
464  "dl" => "3",
465  "ds" => "3",
466  "dx" => "3",
467  "eax" => "3",
468  "ebx" => "3",
469  "ecx" => "3",
470  "edi" => "3",
471  "edx" => "3",
472  "esi" => "3",
473  "es" => "3",
474  "ip" => "3",
475  "si" => "3",
476  "sp" => "3");
477 
478  // Special extensions
479 
480  // Each category can specify a PHP function that returns an altered
481  // version of the keyword.
482 
483 
484 
485  $this->linkscripts = array(
486  "1" => "donothing",
487  "2" => "donothing",
488  "3" => "donothing");
489  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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