• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

syntax_highlight/php/HFile/HFile_asm21xx.php

Go to the documentation of this file.
00001 <?php
00002 $BEAUT_PATH = realpath(".")."/syntax_highlight/php";
00003 if (!isset ($BEAUT_PATH)) return;
00004 require_once("$BEAUT_PATH/Beautifier/HFile.php");
00005   class HFile_asm21xx extends HFile{
00006    function HFile_asm21xx(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // 21xx Assembly
00011 /*************************************/
00012 // Flags
00013 
00014 $this->nocase                   = "1";
00015 $this->notrim                   = "0";
00016 $this->perl                     = "0";
00017 
00018 // Colours
00019 
00020 $this->colours          = array("blue", "purple", "gray", "brown", "blue", "purple", "gray");
00021 $this->quotecolour              = "blue";
00022 $this->blockcommentcolour       = "green";
00023 $this->linecommentcolour        = "green";
00024 
00025 // Indent Strings
00026 
00027 $this->indent                   = array();
00028 $this->unindent                 = array();
00029 
00030 // String characters and delimiters
00031 
00032 $this->stringchars              = array("\"", "'");
00033 $this->delimiters               = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", "        ", "?");
00034 $this->escchar                  = "";
00035 
00036 // Comment settings
00037 
00038 $this->linecommenton            = array("//");
00039 $this->blockcommenton           = array("{");
00040 $this->blockcommentoff          = array("}");
00041 
00042 // Keywords (keyword mapping to colour number)
00043 
00044 $this->keywords                 = array(
00045                         "#define" => "1", 
00046                         "#else" => "1", 
00047                         "#endif" => "1", 
00048                         "#if" => "1", 
00049                         "#ifdef" => "1", 
00050                         "#ifndef" => "1", 
00051                         "#include" => "1", 
00052                         "#undef" => "1", 
00053                         "<" => "1", 
00054                         ">" => "1", 
00055                         ".const" => "2", 
00056                         ".endmod" => "2", 
00057                         ".external" => "2", 
00058                         ".global" => "2", 
00059                         ".include" => "2", 
00060                         ".init" => "2", 
00061                         ".module" => "2", 
00062                         ".var" => "2", 
00063                         "abs" => "3", 
00064                         "and" => "3", 
00065                         "ashift" => "3", 
00066                         "by" => "3", 
00067                         "call" => "3", 
00068                         "clrbit" => "3", 
00069                         "dis" => "3", 
00070                         "divq" => "3", 
00071                         "divs" => "3", 
00072                         "dm" => "3", 
00073                         "do" => "3", 
00074                         "ena" => "3", 
00075                         "exp" => "3", 
00076                         "expadj" => "3", 
00077                         "hi" => "3", 
00078                         "hix" => "3", 
00079                         "idle" => "3", 
00080                         "if" => "3", 
00081                         "io" => "3", 
00082                         "jump" => "3", 
00083                         "lo" => "3", 
00084                         "lshift" => "3", 
00085                         "modify" => "3", 
00086                         "neg" => "3", 
00087                         "nop" => "3", 
00088                         "norm" => "3", 
00089                         "not" => "3", 
00090                         "or" => "3", 
00091                         "pass" => "3", 
00092                         "pm" => "3", 
00093                         "pop" => "3", 
00094                         "pos" => "3", 
00095                         "push" => "3", 
00096                         "reset" => "3", 
00097                         "rnd" => "3", 
00098                         "rti" => "3", 
00099                         "rts" => "3", 
00100                         "sat" => "3", 
00101                         "set" => "3", 
00102                         "setbit" => "3", 
00103                         "ss" => "3", 
00104                         "su" => "3", 
00105                         "tglbit" => "3", 
00106                         "toggle" => "3", 
00107                         "tstbit" => "3", 
00108                         "until" => "3", 
00109                         "us" => "3", 
00110                         "uu" => "3", 
00111                         "xor" => "3", 
00112                         "af" => "4", 
00113                         "ar" => "4", 
00114                         "ax0" => "4", 
00115                         "ax1" => "4", 
00116                         "ay0" => "4", 
00117                         "ay1" => "4", 
00118                         "mf" => "4", 
00119                         "mr" => "4", 
00120                         "mr0" => "4", 
00121                         "mr1" => "4", 
00122                         "mr2" => "4", 
00123                         "mx0" => "4", 
00124                         "mx1" => "4", 
00125                         "my0" => "4", 
00126                         "my1" => "4", 
00127                         "none" => "4", 
00128                         "se" => "4", 
00129                         "si" => "4", 
00130                         "sr" => "4", 
00131                         "sr0" => "4", 
00132                         "sr1" => "4", 
00133                         "i0" => "5", 
00134                         "i1" => "5", 
00135                         "i2" => "5", 
00136                         "i3" => "5", 
00137                         "i4" => "5", 
00138                         "i5" => "5", 
00139                         "i6" => "5", 
00140                         "i7" => "5", 
00141                         "l0" => "5", 
00142                         "l1" => "5", 
00143                         "l2" => "5", 
00144                         "l3" => "5", 
00145                         "l4" => "5", 
00146                         "l5" => "5", 
00147                         "l6" => "5", 
00148                         "l7" => "5", 
00149                         "m0" => "5", 
00150                         "m1" => "5", 
00151                         "m2" => "5", 
00152                         "m3" => "5", 
00153                         "m4" => "5", 
00154                         "m5" => "5", 
00155                         "m6" => "5", 
00156                         "m7" => "5", 
00157                         "ac" => "6", 
00158                         "astat" => "6", 
00159                         "av" => "6", 
00160                         "ar_set" => "6", 
00161                         "av_latch" => "6", 
00162                         "bit_rev" => "6", 
00163                         "c" => "6", 
00164                         "ce" => "6", 
00165                         "cntr" => "6", 
00166                         "eq" => "6", 
00167                         "flag_in" => "6", 
00168                         "flag_out" => "6", 
00169                         "fl0" => "6", 
00170                         "fl1" => "6", 
00171                         "fl2" => "6", 
00172                         "ge" => "6", 
00173                         "g_mode" => "6", 
00174                         "gt" => "6", 
00175                         "icntl" => "6", 
00176                         "ifc" => "6", 
00177                         "imask" => "6", 
00178                         "ints" => "6", 
00179                         "le" => "6", 
00180                         "loop" => "6", 
00181                         "lt" => "6", 
00182                         "m_mode" => "6", 
00183                         "mstat" => "6", 
00184                         "mv" => "6", 
00185                         "ne" => "6", 
00186                         "owrcntr" => "6", 
00187                         "pc" => "6", 
00188                         "px" => "6", 
00189                         "rx0" => "6", 
00190                         "rx1" => "6", 
00191                         "sb" => "6", 
00192                         "sec_reg" => "6", 
00193                         "sstat" => "6", 
00194                         "sts" => "6", 
00195                         "toppcstack" => "6", 
00196                         "tx0" => "6", 
00197                         "tx1" => "6", 
00198                         "timer" => "6", 
00199                         "%" => "7", 
00200                         "(" => "7", 
00201                         ")" => "7", 
00202                         "*" => "7", 
00203                         "+" => "7", 
00204                         "-" => "7", 
00205                         "//" => "7", 
00206                         "/" => "7", 
00207                         "=" => "7", 
00208                         "^" => "7");
00209 
00210 // Special extensions
00211 
00212 // Each category can specify a PHP function that returns an altered
00213 // version of the keyword.
00214         
00215         
00216 
00217 $this->linkscripts      = array(
00218                         "1" => "donothing", 
00219                         "2" => "donothing", 
00220                         "3" => "donothing", 
00221                         "4" => "donothing", 
00222                         "5" => "donothing", 
00223                         "6" => "donothing", 
00224                         "7" => "donothing");
00225 }
00226 
00227 
00228 function donothing($keywordin)
00229 {
00230         return $keywordin;
00231 }
00232 
00233 }?>

Generated on Fri Dec 13 2013 09:06:39 for ILIAS Release_3_4_x_branch .rev 46804 by  doxygen 1.7.1