-
Notifications
You must be signed in to change notification settings - Fork 1
/
6809.vim
executable file
·487 lines (454 loc) · 16.2 KB
/
6809.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
" Vim syntax file
" Language: Motorola 6809 / Hitachi 6309 Assembler
" Maintainer: David Roper <[email protected]>
"
" This was originally based on asm68k.vim by Steve Wall
"
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
syn case ignore
" Partial list of register symbols
syn keyword asm6809Reg a b d e f q v w x y s u pc dp cc
" M68000 opcodes - order is important!
syn match asm6809Opcode "\<ABX"
syn match asm6809Opcode "\<ADCA\s"
syn match asm6809Opcode "\<ADCB\s"
syn match asm6809Opcode "\<ADCD\s"
syn match asm6809Opcode "\<ADCW\s"
syn match asm6809Opcode "\<ADCR\s"
syn match asm6809Opcode "\<ADDA\s"
syn match asm6809Opcode "\<ADDB\s"
syn match asm6809Opcode "\<ADDD\s"
syn match asm6809Opcode "\<ADDE\s"
syn match asm6809Opcode "\<ADDF\s"
syn match asm6809Opcode "\<ADDR\s"
syn match asm6809Opcode "\<ADDW\s"
syn match asm6809Opcode "\<AIM\s"
syn match asm6809Opcode "\<ANDA\s"
syn match asm6809Opcode "\<ANDB\s"
syn match asm6809Opcode "\<ANDCC\s"
syn match asm6809Opcode "\<ANDD\s"
syn match asm6809Opcode "\<ANDR\s"
syn match asm6809Opcode "\<ASL\s"
syn match asm6809Opcode "\<ASLA"
syn match asm6809Opcode "\<ASLB"
syn match asm6809Opcode "\<ASLD"
syn match asm6809Opcode "\<ASRA"
syn match asm6809Opcode "\<ASRB"
syn match asm6809Opcode "\<ASRD"
syn match asm6809Opcode "\<ASR\s"
syn match asm6809Opcode "\<BAND\s"
syn match asm6809Opcode "\<BCC\s"
syn match asm6809Opcode "\<BCS\s"
syn match asm6809Opcode "\<BEOR\s"
syn match asm6809Opcode "\<BEQ\s"
syn match asm6809Opcode "\<BGE\s"
syn match asm6809Opcode "\<BGT\s"
syn match asm6809Opcode "\<BHI\s"
syn match asm6809Opcode "\<BHS\s"
syn match asm6809Opcode "\<BIAND\s"
syn match asm6809Opcode "\<BIEOR\s"
syn match asm6809Opcode "\<BIOR\s"
syn match asm6809Opcode "\<BITA\s"
syn match asm6809Opcode "\<BITB\s"
syn match asm6809Opcode "\<BITD\s"
syn match asm6809Opcode "\<BITMD\s"
syn match asm6809Opcode "\<BLE\s"
syn match asm6809Opcode "\<BLO\s"
syn match asm6809Opcode "\<BLS\s"
syn match asm6809Opcode "\<BLT\s"
syn match asm6809Opcode "\<BMI\s"
syn match asm6809Opcode "\<BNE\s"
syn match asm6809Opcode "\<BOR\s"
syn match asm6809Opcode "\<BPL\s"
syn match asm6809Opcode "\<BRA\s"
syn match asm6809Opcode "\<BRN\s"
syn match asm6809Opcode "\<BSR\s"
syn match asm6809Opcode "\<BVC\s"
syn match asm6809Opcode "\<BVS\s"
syn match asm6809Opcode "\<CLR\s"
syn match asm6809Opcode "\<CLRA"
syn match asm6809Opcode "\<CLRB"
syn match asm6809Opcode "\<CLRD"
syn match asm6809Opcode "\<CLRE"
syn match asm6809Opcode "\<CLRF"
syn match asm6809Opcode "\<CLRW"
syn match asm6809Opcode "\<CMP\s"
syn match asm6809Opcode "\<CMPA\s"
syn match asm6809Opcode "\<CMPB\s"
syn match asm6809Opcode "\<CMPD\s"
syn match asm6809Opcode "\<CMPE\s"
syn match asm6809Opcode "\<CMPF\s"
syn match asm6809Opcode "\<CMPR\s"
syn match asm6809Opcode "\<CMPS\s"
syn match asm6809Opcode "\<CMPU\s"
syn match asm6809Opcode "\<CMPW\s"
syn match asm6809Opcode "\<CMPX\s"
syn match asm6809Opcode "\<CMPY\s"
syn match asm6809Opcode "\<COMA"
syn match asm6809Opcode "\<COMB"
syn match asm6809Opcode "\<COME"
syn match asm6809Opcode "\<COMF"
syn match asm6809Opcode "\<COMD"
syn match asm6809Opcode "\<COMW"
syn match asm6809Opcode "\<COM\s"
syn match asm6809Opcode "\<CWAI\s"
syn match asm6809Opcode "\<DAA\s"
syn match asm6809Opcode "\<DEC\s"
syn match asm6809Opcode "\<DECA"
syn match asm6809Opcode "\<DECB"
syn match asm6809Opcode "\<DECD"
syn match asm6809Opcode "\<DECE"
syn match asm6809Opcode "\<DECF"
syn match asm6809Opcode "\<DECW"
syn match asm6809Opcode "\<DIVD\s"
syn match asm6809Opcode "\<DIVQ\s"
syn match asm6809Opcode "\<EIM\s"
syn match asm6809Opcode "\<EORA\s"
syn match asm6809Opcode "\<EORB\s"
syn match asm6809Opcode "\<EORD\s"
syn match asm6809Opcode "\<EORR\s"
syn match asm6809Opcode "\<EXG\s"
syn match asm6809Opcode "\<INC\s"
syn match asm6809Opcode "\<INCA"
syn match asm6809Opcode "\<INCB"
syn match asm6809Opcode "\<INCD"
syn match asm6809Opcode "\<INCE"
syn match asm6809Opcode "\<INCF"
syn match asm6809Opcode "\<INCW"
syn match asm6809Opcode "\<JMP\s"
syn match asm6809Opcode "\<JSR\s"
syn match asm6809Opcode "\<LBCC\s"
syn match asm6809Opcode "\<LBCS\s"
syn match asm6809Opcode "\<LBEQ\s"
syn match asm6809Opcode "\<LBGE\s"
syn match asm6809Opcode "\<LBGT\s"
syn match asm6809Opcode "\<LBHI\s"
syn match asm6809Opcode "\<LBHS\s"
syn match asm6809Opcode "\<LBLE\s"
syn match asm6809Opcode "\<LBLO\s"
syn match asm6809Opcode "\<LBLS\s"
syn match asm6809Opcode "\<LBLT\s"
syn match asm6809Opcode "\<LBMI\s"
syn match asm6809Opcode "\<LBNE\s"
syn match asm6809Opcode "\<LBPL\s"
syn match asm6809Opcode "\<LBRA\s"
syn match asm6809Opcode "\<LBRN\s"
syn match asm6809Opcode "\<LBSR\s"
syn match asm6809Opcode "\<LBVC\s"
syn match asm6809Opcode "\<LBVS\s"
syn match asm6809Opcode "\<LDA\s"
syn match asm6809Opcode "\<LDB\s"
syn match asm6809Opcode "\<LDBT\s"
syn match asm6809Opcode "\<LDD\s"
syn match asm6809Opcode "\<LDE\s"
syn match asm6809Opcode "\<LDF\s"
syn match asm6809Opcode "\<LDMD\s"
syn match asm6809Opcode "\<LDQ\s"
syn match asm6809Opcode "\<LDS\s"
syn match asm6809Opcode "\<LDU\s"
syn match asm6809Opcode "\<LDW\s"
syn match asm6809Opcode "\<LDX\s"
syn match asm6809Opcode "\<LDY\s"
syn match asm6809Opcode "\<LEAS\s"
syn match asm6809Opcode "\<LEAU\s"
syn match asm6809Opcode "\<LEAX\s"
syn match asm6809Opcode "\<LEAY\s"
syn match asm6809Opcode "\<LSLA"
syn match asm6809Opcode "\<LSLB"
syn match asm6809Opcode "\<LSLE"
syn match asm6809Opcode "\<LSLF"
syn match asm6809Opcode "\<LSLD"
syn match asm6809Opcode "\<LSLW"
syn match asm6809Opcode "\<LSL\s"
syn match asm6809Opcode "\<LSR\s"
syn match asm6809Opcode "\<LSRA"
syn match asm6809Opcode "\<LSRB"
syn match asm6809Opcode "\<LSRE"
syn match asm6809Opcode "\<LSRF"
syn match asm6809Opcode "\<LSRD"
syn match asm6809Opcode "\<LSRW"
syn match asm6809Opcode "\<MULD\s"
syn match asm6809Opcode "\<MUL"
syn match asm6809Opcode "\<NEGA"
syn match asm6809Opcode "\<NEGB"
syn match asm6809Opcode "\<NEGE"
syn match asm6809Opcode "\<NEGF"
syn match asm6809Opcode "\<NEGD"
syn match asm6809Opcode "\<NEGW"
syn match asm6809Opcode "\<NEG\s"
syn match asm6809Opcode "\<NOP"
syn match asm6809Opcode "\<OIM\s"
syn match asm6809Opcode "\<ORR\s"
syn match asm6809Opcode "\<ORA\s"
syn match asm6809Opcode "\<ORB\s"
syn match asm6809Opcode "\<ORD\s"
syn match asm6809Opcode "\<ORCC\s"
syn match asm6809Opcode "\<PSHS\s"
syn match asm6809Opcode "\<PSHSW"
syn match asm6809Opcode "\<PSHU\s"
syn match asm6809Opcode "\<PSHUW\s"
syn match asm6809Opcode "\<PULS\s"
syn match asm6809Opcode "\<PULSW"
syn match asm6809Opcode "\<PULU\s"
syn match asm6809Opcode "\<PULUW\s"
syn match asm6809Opcode "\<ROLA"
syn match asm6809Opcode "\<ROLB"
syn match asm6809Opcode "\<ROLE"
syn match asm6809Opcode "\<ROLF"
syn match asm6809Opcode "\<ROLD"
syn match asm6809Opcode "\<ROLW"
syn match asm6809Opcode "\<ROL\s"
syn match asm6809Opcode "\<RORA"
syn match asm6809Opcode "\<RORB"
syn match asm6809Opcode "\<RORE"
syn match asm6809Opcode "\<RORF"
syn match asm6809Opcode "\<RORD"
syn match asm6809Opcode "\<RORW"
syn match asm6809Opcode "\<ROR\s"
syn match asm6809Opcode "\<RTI"
syn match asm6809Opcode "\<RTS"
syn match asm6809Opcode "\<SBCA\s"
syn match asm6809Opcode "\<SBCB\s"
syn match asm6809Opcode "\<SBCD\s"
syn match asm6809Opcode "\<SBCR\s"
syn match asm6809Opcode "\<SETDP\s"
syn match asm6809Opcode "\<SEX"
syn match asm6809Opcode "\<SEXW"
syn match asm6809Opcode "\<STA\s"
syn match asm6809Opcode "\<STB\s"
syn match asm6809Opcode "\<STBT\s"
syn match asm6809Opcode "\<STD\s"
syn match asm6809Opcode "\<STE\s"
syn match asm6809Opcode "\<STF\s"
syn match asm6809Opcode "\<STQ\s"
syn match asm6809Opcode "\<STS\s"
syn match asm6809Opcode "\<STU\s"
syn match asm6809Opcode "\<STW\s"
syn match asm6809Opcode "\<STX\s"
syn match asm6809Opcode "\<STY\s"
syn match asm6809Opcode "\<SUBA\s"
syn match asm6809Opcode "\<SUBB\s"
syn match asm6809Opcode "\<SUBD\s"
syn match asm6809Opcode "\<SUBE\s"
syn match asm6809Opcode "\<SUBF\s"
syn match asm6809Opcode "\<SUBR\s"
syn match asm6809Opcode "\<SUBW\s"
syn match asm6809Opcode "\<SWI\s"
syn match asm6809Opcode "\<SWI2\s"
syn match asm6809Opcode "\<SWI3\s"
syn match asm6809Opcode "\<SYNC\s"
syn match asm6809Opcode "\<TFM\s"
syn match asm6809Opcode "\<TFR\s"
syn match asm6809Opcode "\<TIM\s"
syn match asm6809Opcode "\<TSTA"
syn match asm6809Opcode "\<TSTB"
syn match asm6809Opcode "\<TSTD"
syn match asm6809Opcode "\<TSTE"
syn match asm6809Opcode "\<TSTF"
syn match asm6809Opcode "\<TSTW"
syn match asm6809Opcode "\<TST\s"
" Valid labels
syn match asm6809Label "^[a-z_?.\@][a-z0-9_?.$\@]*$"
syn match asm6809Label "^[a-z_?.\@][a-z0-9_?.$\@]*\s"he=e-1
" Various number formats
syn match hexNumber "\$[0-9a-fA-F]\+\>"
syn match hexNumber "\<[0-9][0-9a-fA-F]*H\>"
syn match octNumber "@[0-7]\+\>"
syn match octNumber "\<[0-7]\+[QO]\>"
syn match binNumber "%[01]\+\>"
syn match binNumber "\<[01]\+B\>"
syn match decNumber "\<[0-9]\+D\=\>"
" Character string constants
syn match asm6809StringError "'[ -~]*'"
syn match asm6809StringError "'[ -~]*$"
syn region asm6809String start="'" skip="''" end="'" oneline contains=asm6809CharError
syn match asm6809CharError "[^ -~]" contained
" Immediate data
syn match asm6809Immediate "#\$[0-9a-fA-F]\+" contains=hexNumber
syn match asm6809Immediate "#[0-9][0-9a-fA-F]*H" contains=hexNumber
syn match asm6809Immediate "#@[0-7]\+" contains=octNumber
syn match asm6809Immediate "#[0-7]\+[QO]" contains=octNumber
syn match asm6809Immediate "#%[01]\+" contains=binNumber
syn match asm6809Immediate "#[01]\+B" contains=binNumber
syn match asm6809Immediate "#[0-9]\+D\=" contains=decNumber
syn match asm6809Symbol "[a-z_?.][a-z0-9_?.$]*" contained
syn match asm6809Immediate "#[a-z_?.][a-z0-9_?.]*" contains=asm6809Symbol
" Special items for comments
syn keyword asm6809Todo contained TODO FIXME
" Operators
syn match asm6809Operator "[-+*/]" " Must occur before Comments
syn match asm6809Operator "SIZEOF"
syn match asm6809Operator "<" " shift left
syn match asm6809Operator ">" " shift right
syn match asm6809Operator "&" " bit-wise logical and
syn match asm6809Operator "!" " bit-wise logical or
syn match asm6809Operator "!!" " exclusive or
syn match asm6809Operator "<>" " inequality
syn match asm6809Operator "|" " bit-wise logical or
syn match asm6809Operator "=" " must be before other ops containing '='
syn match asm6809Operator ">="
syn match asm6809Operator "<="
syn match asm6809Operator "==" " operand existance - used in macro definitions
" Comments
syn match asm6809Comment ";.*" contains=asm6809Todo
syn match asm6809Comment "\s!.*"ms=s+1 contains=asm6809Todo
syn match asm6809Comment "^\s*[*!].*" contains=asm6809Todo
syn match asm6809Comment "\*.*$"
" Include
syn match asm6809Include "\<INCLUDE\s"
syn match asm6809Include "\<INCLUDEBIN\s"
" Standard macros
syn match asm6809Cond "\<IF\(\.[BWL]\)\=\s"
syn match asm6809Cond "\<THEN\(\.[SL]\)\=\>"
syn match asm6809Cond "\<ELSE\(\.[SL]\)\=\>"
syn match asm6809Cond "\<ENDI\>"
syn match asm6809Cond "\<ENDIF\>"
" Macro definition
syn match asm6809Macro "\<MACRO\>"
syn match asm6809Macro "\<LOCAL\s"
syn match asm6809Macro "\<MEXIT\>"
syn match asm6809Macro "\<ENDM\>"
syn match asm6809MacroParam "\\[0-9]"
" Conditional assembly
syn match asm6809PreCond "\<IFC\s"
syn match asm6809PreCond "\<IFDEF\s"
syn match asm6809PreCond "\<IFEQ\s"
syn match asm6809PreCond "\<IFGE\s"
syn match asm6809PreCond "\<IFGT\s"
syn match asm6809PreCond "\<IFLE\s"
syn match asm6809PreCond "\<IFLT\s"
syn match asm6809PreCond "\<IFNC\>"
syn match asm6809PreCond "\<IFNDEF\s"
syn match asm6809PreCond "\<IFNE\s"
syn match asm6809PreCond "\<ELSEC\>"
syn match asm6809PreCond "\<ENDC\>"
" Loop control
syn match asm6809PreCond "\<REPT\s"
syn match asm6809PreCond "\<IRP\s"
syn match asm6809PreCond "\<IRPC\s"
syn match asm6809PreCond "\<ENDR\>"
" Directives (some styled like Macro for visual impact)
syn match asm6809Macro "\<ALIGN\s"
syn match asm6809Macro "\<CHIP\s"
syn match asm6809Macro "\<COMLINE\s"
syn match asm6809Macro "\<COMMON\(\.S\)\=\s"
syn match asm6809Macro "\<DC\(\.[BWLSDXP]\)\=\s"
syn match asm6809Macro "\<DC\.\\[0-9]\s"me=e-3 " Special use in a macro def
syn match asm6809Macro "\<DCB\(\.[BWLSDXP]\)\=\s"
syn match asm6809Macro "\<DS\(\.[BWLSDXP]\)\=\s"
syn match asm6809Macro "\<END\>"
syn match asm6809Macro "\<ENDSECTION\>"
syn match asm6809Macro "\<ENDSTRUCT\>"
syn match asm6809Macro "\<EQU\s"
syn match asm6809Macro "\<FEQU\(\.[SDXP]\)\=\s"
syn match asm6809Macro "\<FAIL\>"
syn match asm6809Macro "\<FOPT\s"
syn match asm6809Macro "\<\(NO\)\=FORMAT\>"
syn match asm6809Macro "\<IDNT\>"
syn match asm6809Macro "\<\(NO\)\=LIST\>"
syn match asm6809Macro "\<LLEN\s"
syn match asm6809Macro "\<MASK2\>"
syn match asm6809Macro "\<NAME\s"
syn match asm6809Macro "\<NOOBJ\>"
syn match asm6809Macro "\<OFFSET\s"
syn match asm6809Macro "\<OPT\>"
syn match asm6809Macro "\<ORG\(\.[SL]\)\=\>"
syn match asm6809Macro "\<\(NO\)\=PAGE\>"
syn match asm6809Macro "\<PLEN\s"
syn match asm6809Macro "\<REG\s"
syn match asm6809Macro "\<RESTORE\>"
syn match asm6809Macro "\<SAVE\>"
syn match asm6809Macro "\<SECT\(\.S\)\=\s"
syn match asm6809Macro "\<SECTION\(\.S\)\=\s"
syn match asm6809Macro "\<SET\s"
syn match asm6809Macro "\<SPC\s"
syn match asm6809Macro "\<STRUCT\s"
syn match asm6809Macro "\<STRUCT\>"
syn match asm6809Macro "\<TTL\s"
syn match asm6809Macro "\<XCOM\s"
syn match asm6809Macro "\<XDEF\s"
syn match asm6809Macro "\<XREF\(\.S\)\=\s"
syn match asm6809Macro "\<EXPORT\>"
syn match asm6809Macro "\<IMPORT\>"
" Data directives
syn match asm6809Directive "\<C5TO3\s"
syn match asm6809Directive "\<FCB\s"
syn match asm6809Directive "\<\.DB\s"
syn match asm6809Directive "\<\.BYTE\s"
syn match asm6809Directive "\<BYTE\s"
syn match asm6809Directive "\<FDB\s"
syn match asm6809Directive "\<\.DW\s"
syn match asm6809Directive "\<\.WORD\s"
syn match asm6809Directive "\<WORD\s"
syn match asm6809Directive "\<FQB\s"
syn match asm6809Directive "\<\.QUAD\s"
syn match asm6809Directive "\<\.4BYTE\s"
syn match asm6809Directive "\<FCC\s"
syn match asm6809Directive "\<\.ASCII\s"
syn match asm6809Directive "\<\.STR\s"
syn match asm6809Directive "\<FCN\s"
syn match asm6809Directive "\<\.ASCIZ\s"
syn match asm6809Directive "\<\.STRZ\s"
syn match asm6809Directive "\<FCS\s"
syn match asm6809Directive "\<\.ASCIS\s"
syn match asm6809Directive "\<\.STRS\s"
syn match asm6809Directive "\<ZMB\s"
syn match asm6809Directive "\<ZMD\s"
syn match asm6809Directive "\<ZMQ\s"
syn match asm6809Directive "\<RMB\s"
syn match asm6809Directive "\<\.BLKB\s"
syn match asm6809Directive "\<\.DS\s"
syn match asm6809Directive "\<\.RS\s"
syn match asm6809Directive "\<RMD\s"
syn match asm6809Directive "\<RMQ\s"
syn case match
" Define the default highlighting.
" For version 5.7 and earlier: only when not done already
" For version 5.8 and later: only when an item doesn't have highlighting yet
if version >= 508 || !exists("did_asm6809_syntax_inits")
if version < 508
let did_asm6809_syntax_inits = 1
command -nargs=+ HiLink hi link <args>
else
command -nargs=+ HiLink hi def link <args>
endif
" The default methods for highlighting. Can be overridden later
" Comment Constant Error Identifier PreProc Special Statement Todo Type
"
" Constant Boolean Character Number String
" Identifier Function
" PreProc Define Include Macro PreCondit
" Special Debug Delimiter SpecialChar SpecialComment Tag
" Statement Conditional Exception Keyword Label Operator Repeat
" Type StorageClass Structure Typedef
HiLink asm6809Comment Comment
HiLink asm6809Todo Todo
HiLink hexNumber Number " Constant
HiLink octNumber Number " Constant
HiLink binNumber Number " Constant
HiLink decNumber Number " Constant
HiLink asm6809Immediate SpecialChar " Statement
"HiLink asm6809Symbol Constant
HiLink asm6809String String " Constant
" HiLink asm6809CharError Error
" HiLink asm6809StringError Error
HiLink asm6809Reg Identifier
HiLink asm6809Operator Identifier
HiLink asm6809Include Include " PreProc
HiLink asm6809Macro Macro " PreProc
HiLink asm6809MacroParam Keyword " Statement
HiLink asm6809Directive Special
HiLink asm6809PreCond Special
HiLink asm6809Opcode Statement
HiLink asm6809Cond Conditional " Statement
HiLink asm6809Repeat Repeat " Statement
HiLink asm6809Label Type
delcommand HiLink
endif
let b:current_syntax = "asm6809"