2 # NASM,WASM,TASM,MASM and GAS x86 syntax highlight
8 context default lightgray
11 keyword whole BITS white
12 keyword whole SECTION white
13 keyword whole SEGMENT white
14 keyword whole ABSOLUTE white
15 keyword whole EXTERN white
16 keyword whole GLOBAL white
17 keyword whole COMMON white
18 keyword whole CPU white
20 # NASM, WASM, TASM, MASM and common modifiers
21 keyword whole ALIGN white
22 keyword whole ALIGNB white
23 keyword whole STRUC white
24 keyword whole ENDSTRUC white
25 keyword whole ISTRUC white
26 keyword whole IEND white
27 keyword whole AT white
28 keyword whole __FILE__ white
29 keyword whole __LINE__ white
30 keyword whole __NASM_VER__ white
31 keyword whole __NASM_VERSION_ID__ white
32 keyword whole __NASM_MAJOR__ white
33 keyword whole __NASM_MINOR__ white
34 keyword whole __NASM_SUBMINOR__ white
35 keyword whole __NASM_PATCHLEVEL__ white
36 keyword whole __SECT__ white
37 keyword whole STRICT white
38 keyword whole SEG white
39 keyword whole WRT white
40 keyword whole NOSPLIT white
41 keyword whole BYTE white
42 keyword whole WORD white
43 keyword whole DWORD white
44 keyword whole QWORD white
45 keyword whole TWORD white
48 keyword whole ORG white
49 keyword whole EQU white
50 keyword whole DB white
51 keyword whole DW white
52 keyword whole DD white
53 keyword whole DQ white
54 keyword whole DT white
55 keyword whole RESB white
56 keyword whole RESW white
57 keyword whole RESD white
58 keyword whole RESQ white
59 keyword whole REST white
60 keyword whole INCBIN white
61 keyword whole TIMES white
64 keyword whole .string white
65 keyword whole .section white
66 keyword whole .align white
67 keyword whole .type white
68 keyword whole .size white
69 keyword whole .comm white
70 keyword whole .ident white
71 keyword whole .globl white
72 keyword whole .rodata brightblue
73 keyword whole .data brightblue
74 keyword whole .text brightblue
75 keyword whole .bss brightblue
78 keyword whole %ifdef brightred
79 keyword whole %define brightred
80 keyword whole %else brightred
81 keyword whole %elif brightred
82 keyword whole %endif brightred
83 keyword whole %macro brightred
84 keyword whole %endmacro brightred
85 keyword whole %rep brightred
86 keyword whole %repl brightred
87 keyword whole %strlen brightred
88 keyword whole %substr brightred
89 keyword whole %arg brightred
90 keyword whole %stacksize brightred
91 keyword whole %local brightred
92 keyword whole %push brightred
93 keyword whole %pop brightred
94 keyword whole %line brightred
95 keyword whole %\! brightred
96 keyword whole %\+ brightred
98 # Generic 16-bit registers set
99 keyword whole %al brightmagenta
100 keyword whole %bl brightmagenta
101 keyword whole %cl brightmagenta
102 keyword whole %dl brightmagenta
103 keyword whole %ah brightmagenta
104 keyword whole %bh brightmagenta
105 keyword whole %ch brightmagenta
106 keyword whole %dh brightmagenta
107 keyword whole %ax brightmagenta
108 keyword whole %bx brightmagenta
109 keyword whole %cx brightmagenta
110 keyword whole %dx brightmagenta
111 keyword whole %si brightmagenta
112 keyword whole %di brightmagenta
113 keyword whole %bp brightmagenta
114 keyword whole %sp brightmagenta
115 keyword whole %es brightmagenta
116 keyword whole %cs brightmagenta
117 keyword whole %ds brightmagenta
119 keyword whole AL brightmagenta
120 keyword whole BL brightmagenta
121 keyword whole CL brightmagenta
122 keyword whole DL brightmagenta
123 keyword whole AH brightmagenta
124 keyword whole BH brightmagenta
125 keyword whole CH brightmagenta
126 keyword whole DH brightmagenta
127 keyword whole AX brightmagenta
128 keyword whole BX brightmagenta
129 keyword whole CX brightmagenta
130 keyword whole DX brightmagenta
131 keyword whole SI brightmagenta
132 keyword whole DI brightmagenta
133 keyword whole BP brightmagenta
134 keyword whole SP brightmagenta
135 keyword whole ES brightmagenta
136 keyword whole CS brightmagenta
137 keyword whole DS brightmagenta
139 # Generic 32-bit registers set
140 keyword whole %eax brightmagenta
141 keyword whole %ebx brightmagenta
142 keyword whole %ecx brightmagenta
143 keyword whole %edx brightmagenta
144 keyword whole %esi brightmagenta
145 keyword whole %edi brightmagenta
146 keyword whole %ebp brightmagenta
147 keyword whole %esp brightmagenta
148 keyword whole %fs brightmagenta
149 keyword whole %gs brightmagenta
151 keyword whole EAX brightmagenta
152 keyword whole EBX brightmagenta
153 keyword whole ECX brightmagenta
154 keyword whole EDX brightmagenta
155 keyword whole ESI brightmagenta
156 keyword whole EDI brightmagenta
157 keyword whole EBP brightmagenta
158 keyword whole ESP brightmagenta
159 keyword whole FS brightmagenta
160 keyword whole GS brightmagenta
162 keyword whole CR0 magenta
163 keyword whole CR1 magenta
164 keyword whole CR2 magenta
165 keyword whole CR3 magenta
166 keyword whole DR0 magenta
167 keyword whole DR1 magenta
168 keyword whole DR3 magenta
169 keyword whole DR4 magenta
170 keyword whole DR5 magenta
171 keyword whole DR6 magenta
172 keyword whole DR7 magenta
173 keyword whole TR0 magenta
174 keyword whole TR1 magenta
175 keyword whole TR2 magenta
176 keyword whole TR3 magenta
177 keyword whole TR4 magenta
178 keyword whole TR5 magenta
179 keyword whole TR6 magenta
180 keyword whole TR7 magenta
181 keyword whole TR8 magenta
182 keyword whole TR9 magenta
183 keyword whole TR10 magenta
184 keyword whole TR11 magenta
186 # Generic AMD64 registers set
187 keyword whole %rax brightmagenta
188 keyword whole %rbx brightmagenta
189 keyword whole %rcx brightmagenta
190 keyword whole %rdx brightmagenta
191 keyword whole %rsi brightmagenta
192 keyword whole %rdi brightmagenta
193 keyword whole %rbp brightmagenta
194 keyword whole %rsp brightmagenta
195 keyword whole %r8 brightmagenta
196 keyword whole %r9 brightmagenta
197 keyword whole %r10 brightmagenta
198 keyword whole %r11 brightmagenta
199 keyword whole %r12 brightmagenta
200 keyword whole %r13 brightmagenta
201 keyword whole %r14 brightmagenta
202 keyword whole %r15 brightmagenta
204 keyword whole RAX brightmagenta
205 keyword whole RBX brightmagenta
206 keyword whole RCX brightmagenta
207 keyword whole RDX brightmagenta
208 keyword whole RSI brightmagenta
209 keyword whole RDI brightmagenta
210 keyword whole RBP brightmagenta
211 keyword whole RSP brightmagenta
212 keyword whole R8 brightmagenta
213 keyword whole R9 brightmagenta
214 keyword whole R10 brightmagenta
215 keyword whole R11 brightmagenta
216 keyword whole R12 brightmagenta
217 keyword whole R13 brightmagenta
218 keyword whole R14 brightmagenta
219 keyword whole R15 brightmagenta
222 keyword whole st0 brightcyan
223 keyword whole st1 brightcyan
224 keyword whole st2 brightcyan
225 keyword whole st3 brightcyan
226 keyword whole st4 brightcyan
227 keyword whole st5 brightcyan
228 keyword whole st6 brightcyan
229 keyword whole st7 brightcyan
230 keyword whole %st0 brightcyan
231 keyword whole %st1 brightcyan
232 keyword whole %st2 brightcyan
233 keyword whole %st3 brightcyan
234 keyword whole %st4 brightcyan
235 keyword whole %st5 brightcyan
236 keyword whole %st6 brightcyan
237 keyword whole %st7 brightcyan
239 # MMX/3DNOW registers set
240 keyword whole mm0 brightcyan
241 keyword whole mm1 brightcyan
242 keyword whole mm2 brightcyan
243 keyword whole mm3 brightcyan
244 keyword whole mm4 brightcyan
245 keyword whole mm5 brightcyan
246 keyword whole mm6 brightcyan
247 keyword whole mm7 brightcyan
248 keyword whole %mm0 brightcyan
249 keyword whole %mm1 brightcyan
250 keyword whole %mm2 brightcyan
251 keyword whole %mm3 brightcyan
252 keyword whole %mm4 brightcyan
253 keyword whole %mm5 brightcyan
254 keyword whole %mm6 brightcyan
255 keyword whole %mm7 brightcyan
258 keyword whole xmm0 brightcyan
259 keyword whole xmm1 brightcyan
260 keyword whole xmm2 brightcyan
261 keyword whole xmm3 brightcyan
262 keyword whole xmm4 brightcyan
263 keyword whole xmm5 brightcyan
264 keyword whole xmm6 brightcyan
265 keyword whole xmm7 brightcyan
266 keyword whole %xmm0 brightcyan
267 keyword whole %xmm1 brightcyan
268 keyword whole %xmm2 brightcyan
269 keyword whole %xmm3 brightcyan
270 keyword whole %xmm4 brightcyan
271 keyword whole %xmm5 brightcyan
272 keyword whole %xmm6 brightcyan
273 keyword whole %xmm7 brightcyan
301 keyword $ brightgreen
302 keyword $$ brightgreen
306 context ' ' brightgreen
307 context exclusive ; \n brown
310 context exclusive /\* \*/ brown
313 context exclusive ! \n brown