6 {
8
9
10
11
12
13
14$this->nocase = "0";
15$this->notrim = "0";
16$this->perl = "0";
17
18
19
20$this->colours = array("blue", "purple", "gray", "brown", "blue", "purple");
21$this->quotecolour = "blue";
22$this->blockcommentcolour = "green";
23$this->linecommentcolour = "green";
24
25
26
27$this->indent = array();
28$this->unindent = array();
29
30
31
32$this->stringchars = array();
33$this->delimiters = array(".", " ", ",", "!", "#", ">", "<", "%", "$", "+", "(", ")", "*", "-", "/", "@");
34$this->escchar = "";
35
36
37
38$this->linecommenton = array("");
39$this->blockcommenton = array("");
40$this->blockcommentoff = array("");
41
42
43
44$this->keywords = array(
45 "add" => "1",
46 "addb" => "1",
47 "and" => "1",
48 "bank" => "1",
49 "call" => "1",
50 "cja" => "1",
51 "cjae" => "1",
52 "cjb" => "1",
53 "cjbe" => "1",
54 "cje" => "1",
55 "cjne" => "1",
56 "clc" => "1",
57 "clr" => "1",
58 "clrb" => "1",
59 "clz" => "1",
60 "dec" => "1",
61 "djnz" => "1",
62 "ijnz" => "1",
63 "inc" => "1",
64 "iread" => "1",
65 "jb" => "1",
66 "jc" => "1",
67 "jmp" => "1",
68 "jnb" => "1",
69 "jnc" => "1",
70 "jnz" => "1",
71 "jz" => "1",
72 "lcall" => "1",
73 "ljmp" => "1",
74 "lset" => "1",
75 "mov" => "1",
76 "movb" => "1",
77 "nop" => "1",
78 "not" => "1",
79 "or" => "1",
80 "page" => "1",
81 "ret" => "1",
82 "reti" => "1",
83 "retiw" => "1",
84 "retp" => "1",
85 "retw" => "1",
86 "rl" => "1",
87 "rr" => "1",
88 "setb" => "1",
89 "sleep" => "1",
90 "stc" => "1",
91 "stz" => "1",
92 "sub" => "1",
93 "subb" => "1",
94 "swap" => "1",
95 "test" => "1",
96 "xor" => "1",
97 "\"[0123456789aAbBcCdDeEfF]\"" => "2",
98 "fsr" => "3",
99 "ind" => "3",
100 "indf" => "3",
101 "m" => "3",
102 "option" => "3",
103 "pc" => "3",
104 "ra" => "3",
105 "rb" => "3",
106 "rc" => "3",
107 "rd" => "3",
108 "re" => "3",
109 "w" => "3",
110 "!" => "4",
111 "#" => "4",
112 "$" => "4",
113 "%" => "4",
114 "+" => "4",
115 "<" => "4",
116 "=" => "4",
117 ">" => "4",
118 "@" => "4",
119 "banks1" => "4",
120 "banks2" => "4",
121 "banks3" => "4",
122 "banks8" => "4",
123 "device" => "4",
124 "ds" => "4",
125 "equ" => "4",
126 "freq" => "4",
127 "id" => "4",
128 "optionx" => "4",
129 "org" => "4",
130 "oschs" => "4",
131 "oschs1" => "4",
132 "oschs2" => "4",
133 "oschs3" => "4",
134 "oschs4" => "4",
135 "oschs5" => "4",
136 "oscin" => "4",
137 "oscxtmax" => "4",
138 "pages1" => "4",
139 "pages2" => "4",
140 "pages4" => "4",
141 "pins18" => "4",
142 "pins28" => "4",
143 "reset" => "4",
144 "stackx" => "4",
145 "stackx_optionx" => "4",
146 "sx18" => "4",
147 "sx28" => "4",
148 "sx28l" => "4",
149 "sx52" => "4",
150 "turbo" => "4",
151 "watchdog" => "4",
152 "csa" => "5",
153 "csae" => "5",
154 "csb" => "5",
155 "csbe" => "5",
156 "cse" => "5",
157 "csne" => "5",
158 "decsz" => "5",
159 "incsz" => "5",
160 "movsz" => "5",
161 "sb" => "5",
162 "sc" => "5",
163 "skip" => "5",
164 "snb" => "5",
165 "snc" => "5",
166 "snz" => "5",
167 "sz" => "5",
168 "else" => "6",
169 "endif" => "6",
170 "endm" => "6",
171 "endr" => "6",
172 "error" => "6",
173 "exitm" => "6",
174 "if" => "6",
175 "ifdef" => "6",
176 "ifndef" => "6",
177 "macro" => "6",
178 "rept" => "6");
179
180
181
182
183
184
185
186
187$this->linkscripts = array(
188 "1" => "donothing",
189 "2" => "donothing",
190 "3" => "donothing",
191 "4" => "donothing",
192 "5" => "donothing",
193 "6" => "donothing");
194}