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

syntax_highlight/php/HFile/HFile_asmrds500.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_asmrds500 extends HFile{
00006    function HFile_asmrds500(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // Assembler RDS-500
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", "brown");
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                         "ASMB" => "1", 
00046                         "BLK" => "1", 
00047                         "BLOW" => "1", 
00048                         "BYTE" => "1", 
00049                         "CHAD" => "1", 
00050                         "DATA" => "1", 
00051                         "DATE" => "1", 
00052                         "DFLD" => "1", 
00053                         "DFLH" => "1", 
00054                         "DFLI" => "1", 
00055                         "DFLM" => "1", 
00056                         "DFLR" => "1", 
00057                         "DO" => "1", 
00058                         "DPI" => "1", 
00059                         "DPR" => "1", 
00060                         "EJCT" => "1", 
00061                         "END" => "1", 
00062                         "ENDC" => "1", 
00063                         "ENDP" => "1", 
00064                         "EQU" => "1", 
00065                         "EXIT" => "1", 
00066                         "INCLUDE" => "1", 
00067                         "IS" => "1", 
00068                         "LABL" => "1", 
00069                         "LIBR" => "1", 
00070                         "LIST" => "1", 
00071                         "LOAD" => "1", 
00072                         "LORG" => "1", 
00073                         "NLST" => "1", 
00074                         "NPRINT" => "1", 
00075                         "NTRY" => "1", 
00076                         "ORIG" => "1", 
00077                         "PAGE" => "1", 
00078                         "PRINT" => "1", 
00079                         "PROC" => "1", 
00080                         "PALS" => "1", 
00081                         "RES" => "1", 
00082                         "RQS" => "1", 
00083                         "SKAD" => "1", 
00084                         "SPAC" => "1", 
00085                         "SPR" => "1", 
00086                         "SUBR" => "1", 
00087                         "TEXT" => "1", 
00088                         "TRUE" => "1", 
00089                         "X" => "1", 
00090                         "HALT" => "2", 
00091                         "ADD" => "3", 
00092                         "AND" => "3", 
00093                         "CMB" => "3", 
00094                         "CMW" => "3", 
00095                         "DSB" => "3", 
00096                         "ENB" => "3", 
00097                         "INR" => "3", 
00098                         "JMP" => "3", 
00099                         "JSX" => "3", 
00100                         "LDB" => "3", 
00101                         "LDW" => "3", 
00102                         "LDX" => "3", 
00103                         "ORI" => "3", 
00104                         "ORE" => "3", 
00105                         "SLA" => "3", 
00106                         "SLC" => "3", 
00107                         "SLL" => "3", 
00108                         "SML" => "3", 
00109                         "SMU" => "3", 
00110                         "SRA" => "3", 
00111                         "SRL" => "3", 
00112                         "SRC" => "3", 
00113                         "STB" => "3", 
00114                         "STX" => "3", 
00115                         "STW" => "3", 
00116                         "SUB" => "3", 
00117                         "SUS" => "3", 
00118                         "A" => "4", 
00119                         "D" => "4", 
00120                         "L" => "4", 
00121                         "R" => "4", 
00122                         "U" => "4", 
00123                         "=" => "4", 
00124                         "+" => "4", 
00125                         "-" => "4", 
00126                         "$" => "4", 
00127                         ":" => "4", 
00128                         "*" => "4", 
00129                         "CAX" => "5", 
00130                         "CEX" => "5", 
00131                         "CLR" => "5", 
00132                         "CMP" => "5", 
00133                         "CXA" => "5", 
00134                         "CXE" => "5", 
00135                         "EEX" => "5", 
00136                         "INV" => "5", 
00137                         "MSK" => "5", 
00138                         "NOP" => "5", 
00139                         "SAM" => "5", 
00140                         "SAO" => "5", 
00141                         "SAP" => "5", 
00142                         "SAZ" => "5", 
00143                         "SEQ" => "5", 
00144                         "SGM" => "5", 
00145                         "SGR" => "5", 
00146                         "SLE" => "5", 
00147                         "SLM" => "5", 
00148                         "SLS" => "5", 
00149                         "SNE" => "5", 
00150                         "SNO" => "5", 
00151                         "SS1" => "5", 
00152                         "SS2" => "5", 
00153                         "SS3" => "5", 
00154                         "SSE" => "5", 
00155                         "SSO" => "5", 
00156                         "SXE" => "5", 
00157                         "SXM" => "5", 
00158                         "SXP" => "5", 
00159                         "UNM" => "5", 
00160                         "XEE" => "5", 
00161                         "CF" => "6", 
00162                         "CFD" => "6", 
00163                         "CLB" => "6", 
00164                         "DIV" => "6", 
00165                         "DIN" => "6", 
00166                         "DOT" => "6", 
00167                         "DXS" => "6", 
00168                         "FAB" => "6", 
00169                         "FABD" => "6", 
00170                         "FCS" => "6", 
00171                         "FCSD" => "6", 
00172                         "FLT" => "6", 
00173                         "FLTD" => "6", 
00174                         "FIX" => "6", 
00175                         "FIXD" => "6", 
00176                         "FTR" => "6", 
00177                         "FTRD" => "6", 
00178                         "FXR" => "6", 
00179                         "FXRD" => "6", 
00180                         "FAD" => "6", 
00181                         "FADD" => "6", 
00182                         "FSB" => "6", 
00183                         "FSBD" => "6", 
00184                         "FM" => "6", 
00185                         "FMD" => "6", 
00186                         "FDV" => "6", 
00187                         "FDVD" => "6", 
00188                         "IXS" => "6", 
00189                         "LF" => "6", 
00190                         "LFD" => "6", 
00191                         "LLB" => "6", 
00192                         "LM" => "6", 
00193                         "LPL" => "6", 
00194                         "LPU" => "6", 
00195                         "MPY" => "6", 
00196                         "SF" => "6", 
00197                         "SFD" => "6", 
00198                         "SM" => "6", 
00199                         "DCR" => "7", 
00200                         "DRS" => "7", 
00201                         "IVR" => "7", 
00202                         "ICR" => "7", 
00203                         "IRS" => "7", 
00204                         "LDR" => "7", 
00205                         "RRA" => "7", 
00206                         "RRC" => "7", 
00207                         "RRM" => "7", 
00208                         "RRS" => "7", 
00209                         "SMB" => "7", 
00210                         "SRZ" => "7", 
00211                         "SRP" => "7", 
00212                         "SRN" => "7", 
00213                         "STR" => "7", 
00214                         "R0" => "8", 
00215                         "R1" => "8", 
00216                         "R2" => "8", 
00217                         "R3" => "8", 
00218                         "R4" => "8", 
00219                         "R5" => "8", 
00220                         "R6" => "8", 
00221                         "R7" => "8", 
00222                         "R8" => "8", 
00223                         "R9" => "8");
00224 
00225 // Special extensions
00226 
00227 // Each category can specify a PHP function that returns an altered
00228 // version of the keyword.
00229         
00230         
00231 
00232 $this->linkscripts      = array(
00233                         "1" => "donothing", 
00234                         "2" => "donothing", 
00235                         "3" => "donothing", 
00236                         "4" => "donothing", 
00237                         "5" => "donothing", 
00238                         "6" => "donothing", 
00239                         "7" => "donothing", 
00240                         "8" => "donothing");
00241 }
00242 
00243 
00244 function donothing($keywordin)
00245 {
00246         return $keywordin;
00247 }
00248 
00249 }?>

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