~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/sdk/resources/lexers/lexer_A68k.xml

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!DOCTYPE CodeBlocks_lexer_properties>
 
3
<CodeBlocks_lexer_properties>
 
4
                <Lexer name="Motorola 68k"
 
5
                       index="100"
 
6
                       filemasks="*.asm">
 
7
                            <Style  name="Default"
 
8
                                    index="0"
 
9
                                    fg="0,0,0"
 
10
                                    bg="255,255,255"
 
11
                                    bold="0"
 
12
                                    italics="0"
 
13
                                    underlined="0"/>
 
14
                            <Style  name="Comment"
 
15
                                    index="1"
 
16
                                    fg="0,128,0"
 
17
                                    italics="1"/>
 
18
                            <Style  name="CPU instruction"
 
19
                                    index="7"
 
20
                                    fg="0,0,255"/>
 
21
                            <Style  name="Extended instruction"
 
22
                                    index="8"
 
23
                                    fg="0,0,255"
 
24
                                    italics="1"/>
 
25
                            <Style  name="Identifier"
 
26
                                    index="14"
 
27
                                    fg="0,0,0"/>
 
28
                            <Style  name="Decimal number"
 
29
                                    index="2"
 
30
                                    fg="192,64,0"/>
 
31
                            <Style  name="Binary number"
 
32
                                    index="3"
 
33
                                    fg="128,64,64"/>
 
34
                            <Style  name="Hexadecimal number"
 
35
                                    index="4"
 
36
                                    fg="128,0,0"/>
 
37
                            <Style  name="Operator"
 
38
                                    index="6"
 
39
                                    fg="0,0,0"
 
40
                                    bold="1"/>
 
41
                            <Style  name="String (single quote)"
 
42
                                    index="5"
 
43
                                    fg="64,128,64"/>
 
44
                            <Style  name="String (double quote)"
 
45
                                    index="13"
 
46
                                    fg="32,64,32"/>
 
47
                            <Style  name="Register"
 
48
                                    index="9"
 
49
                                    fg="255,0,0"/>
 
50
                            <Style  name="Directive"
 
51
                                    index="10"
 
52
                                    fg="0,0,64"
 
53
                                    bold="1"/>
 
54
                            <Style  name="Label"
 
55
                                    index="12"
 
56
                                    fg="64,0,0"
 
57
                                    bold="1"/>
 
58
                            <Style  name="Macro/equ declaration"
 
59
                                    index="15"
 
60
                                    fg="64,0,0"
 
61
                                    italics="1"/>
 
62
                            <Style  name="Macro argument"
 
63
                                    index="11"
 
64
                                    fg="255,0,128"
 
65
                                    italics="1"/>
 
66
                            <Style  name="Current word in comments"
 
67
                                    index="16"
 
68
                                    fg="128,0,255"/>
 
69
                            <Style  name="Special words in comments"
 
70
                                    index="17"
 
71
                                    fg="255,0,0"
 
72
                                    bg="255,160,64"
 
73
                                    bold="1"/>
 
74
                            <Style  name="Doxygen keywords"
 
75
                                    index="18"
 
76
                                    fg="0,128,128"/>
 
77
 
 
78
                                <LanguageAttributes     LineComment=";"
 
79
                                                        CaseSensitive="0"/>
 
80
                                <Keywords>
 
81
                                        <!-- Instructions -->
 
82
                                        <Set index="0" value="abcd abcd.b
 
83
                                                                add.b add.w add.l
 
84
                                                                adda.w adda.l
 
85
                                                                addi.b addi.w addi.l
 
86
                                                                addq.b addq.w addq.l
 
87
                                                                addx.b addx.w addx.l
 
88
                                                                and.b and.w and.l
 
89
                                                                andi.b andi.w andi.l
 
90
                                                                asl.b asl.w asl.l
 
91
                                                                asr.b asr.w asr.l
 
92
                                                                bcc bcc.s bcc.w
 
93
                                                                bcs bcs.s bcs.w
 
94
                                                                beq beq.s beq.w
 
95
                                                                bge bge.s bge.w
 
96
                                                                bgt bgt.s bgt.w
 
97
                                                                bhi bhi.s bhi.w
 
98
                                                                ble ble.s ble.w
 
99
                                                                bls bls.s bls.w
 
100
                                                                blt blt.s blt.w
 
101
                                                                bmi bmi.s bmi.w
 
102
                                                                bne bne.s bne.w
 
103
                                                                bpl bpl.s bpl.w
 
104
                                                                bvc bvc.s bvc.w
 
105
                                                                bvs bvs.s bvs.w
 
106
                                                                bchg bchg.b bchg.l
 
107
                                                                bclr bclr.b bclr.l
 
108
                                                                bra.s bra.w
 
109
                                                                bset bset.b btst.l
 
110
                                                                bsr bsr.s bsr.w
 
111
                                                                btst btst.b btst.l
 
112
                                                                chk chk.w
 
113
                                                                clr.b clr.w clr.l
 
114
                                                                cmp.b cmp.w cmp.l
 
115
                                                                cmpa.w cmpa.l
 
116
                                                                cmpi.b cmpi.w cmpi.l
 
117
                                                                cmpm.b cmpm.w cmpm.l
 
118
                                                                dbcc dbcc.w
 
119
                                                                dbcs dbcs.w
 
120
                                                                dbeq dbeq.s
 
121
                                                                dbf dbf.w
 
122
                                                                dbge dbge.w
 
123
                                                                dbgt dbgt.w
 
124
                                                                dbhi dbhi.w
 
125
                                                                dble dble.w
 
126
                                                                dbls dbls.w
 
127
                                                                dblt dblt.w
 
128
                                                                dbmi dbmi.w
 
129
                                                                dbne dbne.w
 
130
                                                                dbpl dbpl.w
 
131
                                                                dbt dbt.w
 
132
                                                                dbvc dbvc.w
 
133
                                                                dbvs dbvs.w
 
134
                                                                dbra dbra.w
 
135
                                                                divs divs.w
 
136
                                                                divu divu.w
 
137
                                                                eor.b eor.w eor.l
 
138
                                                                eori.b eori.w eori.l
 
139
                                                                exg exg.l
 
140
                                                                ext.w ext.l
 
141
                                                                illegal
 
142
                                                                jmp
 
143
                                                                jsr
 
144
                                                                lea lea.l
 
145
                                                                link
 
146
                                                                lsl.b lsl.w lsl.l
 
147
                                                                lsr.b lsr.w lsr.l
 
148
                                                                move.b move.w move.l
 
149
                                                                movea.w movea.l
 
150
                                                                movem.w movem.l
 
151
                                                                movep.w movep.l
 
152
                                                                moveq moveq.l
 
153
                                                                muls muls.w
 
154
                                                                mulu mulu.w
 
155
                                                                nbcd nbcd.b
 
156
                                                                neg.b neg.w neg.l
 
157
                                                                negx.b negx.w negx.l
 
158
                                                                nop
 
159
                                                                not.b not.w not.l
 
160
                                                                or.b or.w or.l
 
161
                                                                ori.b ori.w ori.l
 
162
                                                                pea pea.l
 
163
                                                                reset
 
164
                                                                rol.b rol.w rol.l
 
165
                                                                ror.b ror.w ror.l
 
166
                                                                roxl.b roxl.w roxl.l
 
167
                                                                roxr.b roxr.w roxr.l
 
168
                                                                rte
 
169
                                                                rtr
 
170
                                                                rts
 
171
                                                                sbcd sbcd.b
 
172
                                                                scc scc.b
 
173
                                                                scs scs.b
 
174
                                                                seq seq.b
 
175
                                                                sf sf.b
 
176
                                                                sge sge.b
 
177
                                                                sgt sgt.b
 
178
                                                                shi shi.b
 
179
                                                                sle sle.b
 
180
                                                                sls sls.b
 
181
                                                                slt slt.b
 
182
                                                                smi smi.b
 
183
                                                                sne sne.b
 
184
                                                                spl spl.b
 
185
                                                                st st.b
 
186
                                                                svc svc.b
 
187
                                                                svs svs.b
 
188
                                                                stop
 
189
                                                                sub.b sub.w sub.l
 
190
                                                                suba.w suba.l
 
191
                                                                subi.b subi.w subi.l
 
192
                                                                subq.b subq.w subq.l
 
193
                                                                subx.b subx.w subx.l
 
194
                                                                swap swap.w
 
195
                                                                tas tas.b
 
196
                                                                trap
 
197
                                                                trapv
 
198
                                                                tst.b tst.w tst.l
 
199
                                                                unlk"/>
 
200
 
 
201
                                        <!-- Registers -->
 
202
                                        <Set index="1" value="a0 a0.w a0.l
 
203
                                                                a1 a1.w a1.l
 
204
                                                                a2 a2.w a2.l
 
205
                                                                a3 a3.w a3.l
 
206
                                                                a4 a4.w a4.l
 
207
                                                                a5 a5.w a5.l
 
208
                                                                a6 a6.w a6.l
 
209
                                                                a7 a7.w a7.l
 
210
                                                                d0 d0.w d0.l
 
211
                                                                d1 d1.w d1.l
 
212
                                                                d2 d2.w d2.l
 
213
                                                                d3 d3.w d3.l
 
214
                                                                d4 d4.w d4.l
 
215
                                                                d5 d5.w d5.l
 
216
                                                                d6 d6.w d6.l
 
217
                                                                d7 d7.w d7.l
 
218
                                                                sr ccr pc usp ssp sp fp"/>
 
219
 
 
220
                                        <!-- Directives -->
 
221
                                        <Set index="2" value="include incbin even cnop xdef xref public section bss cseg dseg end
 
222
                                                                dc.b dc.w dc.l ds.b ds.w ds.l dcb.b dcb.w dcb.l macro endm equ equr
 
223
                                                                set ifeq endc ifne ifge ifgt ifle iflt ifc ifnc ifd ifnd near far
 
224
                                                                org rorg nolist list page spc ttl idnt"/>
 
225
 
 
226
                                        <!-- Extended instructions -->
 
227
                                        <Set index="3" value="jbsr jra jhi jls jcc jne jeq jvc jvs jpl jmi jge jlt jgt jle"/>
 
228
 
 
229
                                        <!-- Special words -->
 
230
                                        <Set index="4" value="BUG DEBUG FIX FIXME HACK TODO WORKAROUND XXX"/>
 
231
 
 
232
                                        <!-- Doxygen keywords -->
 
233
                                        <Set index="5" value="\a
 
234
                                                                \addindex
 
235
                                                                \addtogroup
 
236
                                                                \anchor
 
237
                                                                \arg
 
238
                                                                \attention
 
239
                                                                \author
 
240
                                                                \authors
 
241
                                                                \b
 
242
                                                                \brief
 
243
                                                                \bug
 
244
                                                                \c
 
245
                                                                \callgraph
 
246
                                                                \callergraph
 
247
                                                                \category
 
248
                                                                \class
 
249
                                                                \code
 
250
                                                                \cond
 
251
                                                                \copybrief
 
252
                                                                \copydetails
 
253
                                                                \copydoc
 
254
                                                                \date
 
255
                                                                \def
 
256
                                                                \defgroup
 
257
                                                                \deprecated
 
258
                                                                \details
 
259
                                                                \dir
 
260
                                                                \dontinclude
 
261
                                                                \dot
 
262
                                                                \dotfile
 
263
                                                                \mscfile
 
264
                                                                \e
 
265
                                                                \else
 
266
                                                                \elseif
 
267
                                                                \em
 
268
                                                                \endcode
 
269
                                                                \endcond
 
270
                                                                \enddot
 
271
                                                                \endhtmlonly
 
272
                                                                \endif
 
273
                                                                \endinternal
 
274
                                                                \endlatexonly
 
275
                                                                \endlink
 
276
                                                                \endmanonly
 
277
                                                                \endmsc
 
278
                                                                \endrtfonly
 
279
                                                                \endverbatim
 
280
                                                                \endxmlonly
 
281
                                                                \enum
 
282
                                                                \example
 
283
                                                                \exception
 
284
                                                                \extends
 
285
                                                                \f$
 
286
                                                                \f[
 
287
                                                                \f]
 
288
                                                                \f{
 
289
                                                                \f}
 
290
                                                                \file
 
291
                                                                \fn
 
292
                                                                \headerfile
 
293
                                                                \hideinitializer
 
294
                                                                \htmlinclude
 
295
                                                                \htmlonly
 
296
                                                                \if
 
297
                                                                \ifnot
 
298
                                                                \image
 
299
                                                                \implements
 
300
                                                                \include
 
301
                                                                \includelineno
 
302
                                                                \ingroup
 
303
                                                                \internal
 
304
                                                                \invariant
 
305
                                                                \interface
 
306
                                                                \latexonly
 
307
                                                                \li
 
308
                                                                \line
 
309
                                                                \link
 
310
                                                                \mainpage
 
311
                                                                \manonly
 
312
                                                                \memberof
 
313
                                                                \msc
 
314
                                                                \n
 
315
                                                                \name
 
316
                                                                \namespace
 
317
                                                                \nosubgrouping
 
318
                                                                \note
 
319
                                                                \overload
 
320
                                                                \p
 
321
                                                                \package
 
322
                                                                \page
 
323
                                                                \par
 
324
                                                                \paragraph
 
325
                                                                \param
 
326
                                                                \post
 
327
                                                                \pre
 
328
                                                                \private
 
329
                                                                \privatesection
 
330
                                                                \property
 
331
                                                                \protected
 
332
                                                                \protectedsection
 
333
                                                                \protocol
 
334
                                                                \public
 
335
                                                                \publicsection
 
336
                                                                \ref
 
337
                                                                \related
 
338
                                                                \relates
 
339
                                                                \relatedalso
 
340
                                                                \relatesalso
 
341
                                                                \remark
 
342
                                                                \remarks
 
343
                                                                \return
 
344
                                                                \returns
 
345
                                                                \retval
 
346
                                                                \rtfonly
 
347
                                                                \sa
 
348
                                                                \section
 
349
                                                                \see
 
350
                                                                \short
 
351
                                                                \showinitializer
 
352
                                                                \since
 
353
                                                                \skip
 
354
                                                                \skipline
 
355
                                                                \struct
 
356
                                                                \subpage
 
357
                                                                \subsection
 
358
                                                                \subsubsection
 
359
                                                                \test
 
360
                                                                \throw
 
361
                                                                \throws
 
362
                                                                \todo
 
363
                                                                \tparam
 
364
                                                                \typedef
 
365
                                                                \union
 
366
                                                                \until
 
367
                                                                \var
 
368
                                                                \verbatim
 
369
                                                                \verbinclude
 
370
                                                                \version
 
371
                                                                \warning
 
372
                                                                \weakgroup
 
373
                                                                \xmlonly
 
374
                                                                \xrefitem"/>
 
375
 
 
376
                                </Keywords>
 
377
                                <SampleCode value="lexer_A68k.sample"/>
 
378
                </Lexer>
 
379
</CodeBlocks_lexer_properties>