File: assembler.syntax

package info (click to toggle)
64tass 1.60.3243-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 3,432 kB
  • sloc: ansic: 48,995; xml: 647; asm: 333; makefile: 250
file content (325 lines) | stat: -rw-r--r-- 11,332 bytes parent folder | download
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
#64tass mcedit/cooledit syntax
# $Id: assembler.syntax 3179 2025-03-26 06:31:53Z soci $
#
# Place it into this folder:
#
# ~/.local/share/mc/mcedit/assembler.syntax

context default lightgray
    keyword whole adc white
    keyword whole and white
    keyword whole asl white
    keyword whole bcc white
    keyword whole bcs white
    keyword whole beq white
    keyword whole bge white
    keyword whole bit white
    keyword whole blt white
    keyword whole bne white
    keyword whole bmi white
    keyword whole bpl white
    keyword whole brk white
    keyword whole bvc white
    keyword whole bvs white
    keyword whole clc white
    keyword whole cld white
    keyword whole cli white
    keyword whole clv white
    keyword whole cmp white
    keyword whole cpa white
    keyword whole cpx white
    keyword whole cpy white
    keyword whole dec white
    keyword whole dex white
    keyword whole dey white
    keyword whole eor white
    keyword whole gcc white
    keyword whole gcs white
    keyword whole geq white
    keyword whole gge white
    keyword whole glt white
    keyword whole gne white
    keyword whole gmi white
    keyword whole gpl white
    keyword whole gvc white
    keyword whole gvs white
    keyword whole inc white
    keyword whole inx white
    keyword whole iny white
    keyword whole jmp white
    keyword whole jsr white
    keyword whole lda white
    keyword whole ldr white
    keyword whole ldx white
    keyword whole ldy white
    keyword whole lsr white
    keyword whole nop white
    keyword whole ora white
    keyword whole orr white
    keyword whole pha white
    keyword whole php white
    keyword whole pla white
    keyword whole plp white
    keyword whole psh white
    keyword whole pul white
    keyword whole rol white
    keyword whole ror white
    keyword whole rti white
    keyword whole rts white
    keyword whole sbc white
    keyword whole sec white
    keyword whole sed white
    keyword whole sei white
    keyword whole shl white
    keyword whole shr white
    keyword whole sta white
    keyword whole str white
    keyword whole stx white
    keyword whole sty white
    keyword whole tax white
    keyword whole tay white
    keyword whole tsx white
    keyword whole txa white
    keyword whole txs white
    keyword whole tya white

    keyword whole ahx white
    keyword whole alr white
    keyword whole anc white
    keyword whole ane white
    keyword whole arr white
    keyword whole asr white
    keyword whole axs white
    keyword whole dcm white
    keyword whole dcp white
    keyword whole ins white
    keyword whole isb white
    keyword whole isc white
    keyword whole jam white
    keyword whole lae white
    keyword whole las white
    keyword whole lax white
    keyword whole lds white
    keyword whole lxa white
    keyword whole rla white
    keyword whole rra white
    keyword whole sax white
    keyword whole sbx white
    keyword whole sha white
    keyword whole shs white
    keyword whole shx white
    keyword whole shy white
    keyword whole slo white
    keyword whole sre white
    keyword whole tas white
    keyword whole xaa white

    keyword whole .al brightcyan
    keyword whole .align brightcyan
    keyword whole .alignblk brightcyan
    keyword whole .alignind brightcyan
    keyword whole .alignpageind brightcyan
    keyword whole .as brightcyan
    keyword whole .assert brightcyan
    keyword whole .bend brightcyan
    keyword whole .bfor brightcyan
    keyword whole .binclude brightcyan
    keyword whole .block brightcyan
    keyword whole .break brightcyan
    keyword whole .breakif brightcyan
    keyword whole .brept brightcyan
    keyword whole .bwhile brightcyan
    keyword whole .case brightcyan
    keyword whole .cdef brightcyan
    keyword whole .cerror brightcyan
    keyword whole .check brightcyan
    keyword whole .comment brightcyan
    keyword whole .continue brightcyan
    keyword whole .continueif brightcyan
    keyword whole .cpu brightcyan
    keyword whole .cwarn brightcyan
    keyword whole .databank brightcyan
    keyword whole .default brightcyan
    keyword whole .dpage brightcyan
    keyword whole .dsection brightcyan
    keyword whole .dstruct brightcyan
    keyword whole .dunion brightcyan
    keyword whole .edef brightcyan
    keyword whole .elif brightcyan
    keyword whole .else brightcyan
    keyword whole .elsif brightcyan
    keyword whole .enc brightcyan
    keyword whole .encode brightcyan
    keyword whole .end brightcyan
    keyword whole .endalignblk brightcyan
    keyword whole .endblock brightcyan
    keyword whole .endc brightcyan
    keyword whole .endcomment brightcyan
    keyword whole .endencode brightcyan
    keyword whole .endf brightcyan
    keyword whole .endfor brightcyan
    keyword whole .endfunction brightcyan
    keyword whole .endif brightcyan
    keyword whole .endlogical brightcyan
    keyword whole .endm brightcyan
    keyword whole .endmacro brightcyan
    keyword whole .endn brightcyan
    keyword whole .endnamespace brightcyan
    keyword whole .endp brightcyan
    keyword whole .endpage brightcyan
    keyword whole .endproc brightcyan
    keyword whole .endrept brightcyan
    keyword whole .ends brightcyan
    keyword whole .endsection brightcyan
    keyword whole .endsegment brightcyan
    keyword whole .endstruct brightcyan
    keyword whole .endswitch brightcyan
    keyword whole .endu brightcyan
    keyword whole .endunion brightcyan
    keyword whole .endv brightcyan
    keyword whole .endvirtual brightcyan
    keyword whole .endweak brightcyan
    keyword whole .endwhile brightcyan
    keyword whole .endwith brightcyan
    keyword whole .eor brightcyan
    keyword whole .error brightcyan
    keyword whole .fi brightcyan
    keyword whole .for brightcyan
    keyword whole .from brightcyan
    keyword whole .function brightcyan
    keyword whole .goto brightcyan
    keyword whole .here brightcyan
    keyword whole .hidemac brightcyan
    keyword whole .if brightcyan
    keyword whole .ifeq brightcyan
    keyword whole .ifmi brightcyan
    keyword whole .ifne brightcyan
    keyword whole .ifpl brightcyan
    keyword whole .include brightcyan
    keyword whole .lbl brightcyan
    keyword whole .logical brightcyan
    keyword whole .macro brightcyan
    keyword whole .namespace brightcyan
    keyword whole .next brightcyan
    keyword whole .offs brightcyan
    keyword whole .option brightcyan
    keyword whole .page brightcyan
    keyword whole .pend brightcyan
    keyword whole .proc brightcyan
    keyword whole .proff brightcyan
    keyword whole .pron brightcyan
    keyword whole .rept brightcyan
    keyword whole .section brightcyan
    keyword whole .seed brightcyan
    keyword whole .segment brightcyan
    keyword whole .send brightcyan
    keyword whole .sfunction brightcyan
    keyword whole .showmac brightcyan
    keyword whole .struct brightcyan
    keyword whole .switch brightcyan
    keyword whole .tdef brightcyan
    keyword whole .union brightcyan
    keyword whole .var brightcyan
    keyword whole .virtual brightcyan
    keyword whole .warn brightcyan
    keyword whole .weak brightcyan
    keyword whole .while brightcyan
    keyword whole .with brightcyan
    keyword whole .xl brightcyan
    keyword whole .xs brightcyan

    keyword whole .char yellow
    keyword whole .dint yellow
    keyword whole .dword yellow
    keyword whole .fill yellow
    keyword whole .sint yellow
    keyword whole .lint yellow
    keyword whole .long yellow
    keyword whole .null yellow
    keyword whole .addr yellow
    keyword whole .binary yellow
    keyword whole .byte yellow
    keyword whole .shift yellow
    keyword whole .shiftl yellow
    keyword whole .rta yellow
    keyword whole .ptext yellow
    keyword whole .word yellow
    keyword whole .text yellow

    keyword whole $\[0123456789abcdefABCDEF\]\.\{0123456789abcdefABCDEF\}\[0123456789abcdefABCDEF\] brightred
    keyword whole $\{0123456789abcdefABCDEF\}\[0123456789abcdefABCDEF\]\.\[0123456789abcdefABCDEF\] brightred
    keyword whole $\{0123456789abcdefABCDEF\}\[0123456789abcdefABCDEF\]\{eEpP\}\{0123456789\}\[0123456789\] brightred
    keyword whole $\{0123456789abcdefABCDEF\}\[0123456789abcdefABCDEF\]\{eEpP\}\{\-\+\}\{0123456789\}\[0123456789\] brightred
    keyword whole $\{0123456789abcdefABCDEF\}\[0123456789abcdefABCDEF\]\.\{0123456789abcdefABCDEF\}\[0123456789abcdefABCDEF\]\{eEpP\}\{0123456789\}\[0123456789\] brightred
    keyword whole $\{0123456789abcdefABCDEF\}\[0123456789abcdefABCDEF\]\.\{0123456789abcdefABCDEF\}\[0123456789abcdefABCDEF\]\{eEpP\}\{\-\+\}\{0123456789\}\[0123456789\] brightred
    keyword whole $\{0123456789abcdefABCDEF\}\[0123456789abcdefABCDEF\] brightred
    keyword whole %\[01\]\.\{01\}\[01\] brightred
    keyword whole %\{01\}\[01\]\.\[01\] brightred
    keyword whole %\{01\}\[01\]\{eEpP\}\{0123456789\}\[0123456789\] brightred
    keyword whole %\{01\}\[01\]\{eEpP\}\{\-\+\}\{0123456789\}\[0123456789\] brightred
    keyword whole %\{01\}\[01\]\.\{01\}\[01\]\{eEpP\}\{0123456789\}\[0123456789\] brightred
    keyword whole %\{01\}\[01\]\.\{01\}\[01\]\{eEpP\}\{\-\+\}\{0123456789\}\[0123456789\] brightred
    keyword whole %\{01\}\[01\] brightred
    keyword whole \[0123456789\]\.\{0123456789\}\[0123456789\] brightred
    keyword whole \{0123456789\}\[0123456789\]\.\[0123456789\] brightred
    keyword whole \{0123456789\}\[0123456789\]\{eEpP\}\{0123456789\}\[0123456789\] brightred
    keyword whole \{0123456789\}\[0123456789\]\{eEpP\}\{\-\+\}\{0123456789\}\[0123456789\] brightred
    keyword whole \{0123456789\}\[0123456789\]\.\{0123456789\}\[0123456789\]\{eEpP\}\{0123456789\}\[0123456789\] brightred
    keyword whole \{0123456789\}\[0123456789\]\.\{0123456789\}\[0123456789\]\{eEpP\}\{\-\+\}\{0123456789\}\[0123456789\] brightred
    keyword whole \{0123456789\}\[0123456789\] brightred

    keyword \*= white
    keyword ,x white
    keyword ,y white
    keyword ,z white
    keyword ,r white
    keyword ,s white
    keyword ,b white
    keyword ,d white
    keyword ,k white

    keyword ( white
    keyword ) white
    keyword [ white
    keyword ] white
    keyword { white
    keyword } white
    keyword \.\. white
    keyword \. white
    keyword , white
    keyword : white
    keyword - white
    keyword \+ white
    keyword / white
    keyword \* white
    keyword % white
    keyword & white
    keyword > white
    keyword = white
    keyword < white
    keyword ^ white
    keyword ` white
    keyword ? white
    keyword ~ white
    keyword ! white
    keyword | white
    keyword # white

context ; \n brown/22
#    spellcheck

context " " green/6
    keyword %% brightgreen
    keyword %\[#0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\{eEfgGxX\} brightgreen
    keyword %\[0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\{dxX\} brightgreen
    keyword %\[-\]\[0123456789\*\]\[.\]\[0123456789\*\]s brightgreen
    keyword %[*] brightgreen
    keyword %c brightgreen

context ' ' green/6
    keyword %% brightgreen
    keyword %\[#0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\{eEfgGxX\} brightgreen
    keyword %\[0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\{dxX\} brightgreen
    keyword %\[-\]\[0123456789\*\]\[.\]\[0123456789\*\]s brightgreen
    keyword %[*] brightgreen
    keyword %c brightgreen