robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

robinmerge: 1dc9728daa1d8a2702

master
71.8 KiB1187 linesraw
1" Vim syntax file
2" Language:	NASM - The Netwide Assembler
3" Maintainer:	Andrii Sokolov	<andriy145@gmail.com>
4" Original Author:	Manuel M.H. Stol	<Manuel.Stol@allieddata.nl>
5" Former Maintainer:	Manuel M.H. Stol	<Manuel.Stol@allieddata.nl>
6" Contributors:
7" 	Leonard König <leonard.r.koenig@gmail.com> (C string highlighting)
8" 	Peter Stanhope <dev.rptr@gmail.com> (Add missing 64-bit mode registers)
9" 	Frédéric Hamel <frederic.hamel123@gmail.com> (F16c support, partial AVX
10" 						     support, other)
11"	sarvel <sarvel@protonmail.com> (Complete set of supported instructions)
12"	Amelia Clarke <selene@perilune.dev> (Move options to ftplugin)
13" Last Change:	2026 Sep 15
14" NASM Home:	https://nasm.us/
15
16
17" Setup Syntax:
18" quit when a syntax file was already loaded
19if exists("b:current_syntax")
20  finish
21endif
22"  Assembler syntax is case insensetive
23syn case ignore
24syn iskeyword @,48-57,#,$,.,?,@-@,_,~
25
26
27" Comments:
28syn region  nasmComment		start=";" keepend end="$" contains=@nasmGrpInComments
29syn region  nasmSpecialComment	start=";\*\*\*" keepend end="$"
30syn keyword nasmInCommentTodo	contained TODO FIXME XXX[XXXXX]
31syn cluster nasmGrpInComments	contains=nasmInCommentTodo
32syn cluster nasmGrpComments	contains=@nasmGrpInComments,nasmComment,nasmSpecialComment
33
34
35
36" Label Identifiers:
37"  in NASM: 'Everything is a Label'
38"  Definition Label = label defined by %[i]define or %[i]assign
39"  Identifier Label = label defined as first non-keyword on a line or %[i]macro
40syn match   nasmLabelError	"$\=\(\d\+\K\|[#.@]\|\$\$\k\)\k*\>"
41syn match   nasmLabel		"\<\(\h\|[?@]\)\k*\>"
42syn match   nasmLabel		"[\$\~]\(\h\|[?@]\)\k*\>"lc=1
43"  Labels starting with one or two '.' are special
44syn match   nasmLocalLabel	"\<\.\(\w\|[#$?@~]\)\k*\>"
45syn match   nasmLocalLabel	"\<\$\.\(\w\|[#$?@~]\)\k*\>"ms=s+1
46if !exists("nasm_no_warn")
47  syn match  nasmLabelWarn	"\<\~\=\$\=[_.][_.\~]*\>"
48endif
49if exists("nasm_loose_syntax")
50  syn match   nasmSpecialLabel	"\<\.\.@\k\+\>"
51  syn match   nasmSpecialLabel	"\<\$\.\.@\k\+\>"ms=s+1
52  if !exists("nasm_no_warn")
53    syn match   nasmLabelWarn	"\<\$\=\.\.@\(\d\|[#$\.~]\)\k*\>"
54  endif
55  " disallow use of nasm internal label format
56  syn match   nasmLabelError	"\<\$\=\.\.@\d\+\.\k*\>"
57else
58  syn match   nasmSpecialLabel	"\<\.\.@\(\h\|[?@]\)\k*\>"
59  syn match   nasmSpecialLabel	"\<\$\.\.@\(\h\|[?@]\)\k*\>"ms=s+1
60endif
61"  Labels can be dereferenced with '$' to destinguish them from reserved words
62syn match   nasmLabelError	"\<\$\K\k*\s*:"
63syn match   nasmLabelError	"^\s*\$\K\k*\>"
64syn match   nasmLabelError	"\<\~\s*\(\k*\s*:\|\$\=\.\k*\)"
65
66
67
68" Constants:
69syn match   nasmStringError	+["'`]+
70" NASM is case sensitive here: eg. u-prefix allows for 4-digit, U-prefix for
71" 8-digit Unicode characters
72syn case match
73" one-char escape-sequences
74syn match   nasmCStringEscape  display contained "\\[’"‘\\\?abtnvfre]"
75" hex and octal numbers
76syn match   nasmCStringEscape  display contained "\\\(x\x\{2}\|\o\{1,3}\)"
77" Unicode characters
78syn match   nasmCStringEscape	display contained "\\\(u\x\{4}\|U\x\{8}\)"
79" ISO C99 format strings (copied from cFormat in runtime/syntax/c.vim)
80syn match   nasmCStringFormat	display "%\(\d\+\$\)\=[-+' #0*]*\(\d*\|\*\|\*\d\+\$\)\(\.\(\d*\|\*\|\*\d\+\$\)\)\=\([hlLjzt]\|ll\|hh\)\=\([aAbdiuoxXDOUfFeEgGcCsSpn]\|\[\^\=.[^]]*\]\)" contained
81syn match   nasmCStringFormat	display "%%" contained
82syn match   nasmString		+\("[^"]\{-}"\|'[^']\{-}'\)+
83" Highlight C escape- and format-sequences within ``-strings
84syn match   nasmCString	+\(`[^`]\{-}`\)+ contains=nasmCStringEscape,nasmCStringFormat extend
85syn case ignore
86syn match   nasmBinNumber	"\<\([01][01_]*[by]\|0[by][01_]\+\)\>"
87syn match   nasmBinNumber	"\<\~\([01][01_]*[by]\|0[by][01_]\+\)\>"lc=1
88syn match   nasmOctNumber	"\<\(\o[0-7_]*[qo]\|0[qo][0-7_]\+\)\>"
89syn match   nasmOctNumber	"\<\~\(\o[0-7_]*[qo]\|0[qo][0-7_]\+\)\>"lc=1
90syn match   nasmDecNumber	"\<\(\d[0-9_]*\|\d[0-9_]*d\|0d[0-9_]\+\)\>"
91syn match   nasmDecNumber	"\<\~\(\d[0-9_]*\|\d[0-9_]*d\|0d[0-9_]\+\)\>"lc=1
92syn match   nasmHexNumber	"\<\(\d[0-9a-f_]*h\|0[xh][0-9a-f_]\+\|\$\d[0-9a-f_]*\)\>"
93syn match   nasmHexNumber	"\<\~\(\d[0-9a-f_]*h\|0[xh][0-9a-f_]\+\|\$\d[0-9a-f_]*\)\>"lc=1
94syn match   nasmBinFloat	"\<\(0[by][01_]*\.[01_]*\(p[+-]\=[0-9_]*\)\=\)\|\(0[by][01_]*p[+-]\=[0-9_]*\)\>"
95syn match   nasmOctFloat	"\<\(0[qo][0-7_]*\.[0-7_]*\(p[+-]\=[0-9_]*\)\=\)\|\(0[qo][0-7_]*p[+-]\=[0-9_]*\)\>"
96syn match   nasmDecFloat	"\<\(\d[0-9_]*\.[0-9_]*\(e[+-]\=[0-9_]*\)\=\)\|\(\d[0-9_]*e[+-]\=[0-9_]*\)\>"
97syn match   nasmHexFloat	"\<\(0[xh][0-9a-f_]\+\.[0-9a-f_]*\(p[+-]\=[0-9_]*\)\=\)\|\(0[xh][0-9a-f_]\+p[+-]\=[0-9_]*\)\>"
98syn keyword nasmSpecFloat	Inf NaN SNaN QNaN __?Infinity?__ __?NaN?__ __?SNaN?__ __?QNaN?__
99syn match   nasmBcdConst	"\<\(\d[0-9_]*p\|0p[0-9_]\+\)\>"
100syn match   nasmNumberError	"\<\~\s*\d\+\.\d*\(e[+-]\=\d\+\)\=\>"
101
102
103" Netwide Assembler Storage Directives:
104"  Storage types
105syn keyword nasmTypeError	DF EXTRN FWORD RESF TBYTE
106syn keyword nasmType		FAR NEAR SHORT
107syn keyword nasmType		BYTE WORD DWORD QWORD DQWORD HWORD DHWORD TWORD
108syn keyword nasmType		CDECL FASTCALL NONE PASCAL STDCALL
109syn keyword nasmStorage		DB DW DD DQ DT DO DY DZ
110syn keyword nasmStorage		RESB RESW RESD RESQ REST RESO RESY RESZ
111syn keyword nasmStorage		EXTERN GLOBAL COMMON
112"  Structured storage types
113syn match   nasmTypeError	"\<\(AT\|I\=\(END\)\=\(STRUCT\=\|UNION\)\|I\=END\)\>"
114syn match   nasmStructureLabel	contained "\<\(AT\|I\=\(END\)\=\(STRUCT\=\|UNION\)\|I\=END\)\>"
115"   structures cannot be nested (yet) -> use: 'keepend' and 're='
116syn cluster nasmGrpCntnStruc	contains=ALLBUT,@nasmGrpInComments,nasmMacroDef,@nasmGrpInMacros,@nasmGrpInPreCondits,nasmStructureDef,@nasmGrpInStrucs
117syn region  nasmStructureDef	transparent matchgroup=nasmStructure keepend start="^\s*STRUCT\>"hs=e-5 end="^\s*ENDSTRUCT\>"re=e-9 contains=@nasmGrpCntnStruc
118syn region  nasmStructureDef	transparent matchgroup=nasmStructure keepend start="^\s*STRUC\>"hs=e-4  end="^\s*ENDSTRUC\>"re=e-8  contains=@nasmGrpCntnStruc
119syn region  nasmStructureDef	transparent matchgroup=nasmStructure keepend start="\<ISTRUCT\=\>" end="\<IEND\(STRUCT\=\)\=\>" contains=@nasmGrpCntnStruc,nasmInStructure
120"   union types are not part of nasm (yet)
121"syn region  nasmStructureDef	transparent matchgroup=nasmStructure keepend start="^\s*UNION\>"hs=e-4 end="^\s*ENDUNION\>"re=e-8 contains=@nasmGrpCntnStruc
122"syn region  nasmStructureDef	transparent matchgroup=nasmStructure keepend start="\<IUNION\>" end="\<IEND\(UNION\)\=\>" contains=@nasmGrpCntnStruc,nasmInStructure
123syn match   nasmInStructure	contained "^\s*AT\>"hs=e-1
124syn cluster nasmGrpInStrucs	contains=nasmStructure,nasmInStructure,nasmStructureLabel
125
126
127
128" PreProcessor Instructions:
129" NAsm PreProcs start with %, but % is not a character
130syn match   nasmPreProcError	"%{\=\(%\=\k\+\|%%\+\k*\|[+-]\=\d\+\)}\="
131if exists("nasm_loose_syntax")
132  syn cluster nasmGrpNxtCtx	contains=nasmStructureLabel,nasmLabel,nasmLocalLabel,nasmSpecialLabel,nasmLabelError,nasmPreProcError
133else
134  syn cluster nasmGrpNxtCtx	contains=nasmStructureLabel,nasmLabel,nasmLabelError,nasmPreProcError
135endif
136
137"  Multi-line macro
138syn cluster nasmGrpCntnMacro	contains=ALLBUT,@nasmGrpInComments,nasmStructureDef,@nasmGrpInStrucs,nasmMacroDef,@nasmGrpPreCondits,nasmMemReference,nasmInMacPreCondit,nasmInMacStrucDef
139syn region  nasmMacroDef	matchgroup=nasmMacro keepend start="^\s*%macro\>"hs=e-5 start="^\s*%imacro\>"hs=e-6 end="^\s*%endmacro\>"re=e-9 contains=@nasmGrpCntnMacro,nasmInMacStrucDef
140if exists("nasm_loose_syntax")
141  syn match  nasmInMacLabel	contained "%\(%\k\+\>\|{%\k\+}\)"
142  syn match  nasmInMacLabel	contained "%\($\+\(\w\|[#\.?@~]\)\k*\>\|{$\+\(\w\|[#\.?@~]\)\k*}\)"
143  syn match  nasmInMacPreProc	contained "^\s*%\(push\|repl\)\>"hs=e-4 skipwhite nextgroup=nasmStructureLabel,nasmLabel,nasmInMacParam,nasmLocalLabel,nasmSpecialLabel,nasmLabelError,nasmPreProcError
144  if !exists("nasm_no_warn")
145    syn match nasmInMacLblWarn	contained "%\(%[$\.]\k*\>\|{%[$\.]\k*}\)"
146    syn match nasmInMacLblWarn	contained "%\($\+\(\d\|[#\.@~]\)\k*\|{\$\+\(\d\|[#\.@~]\)\k*}\)"
147    hi link nasmInMacCatLabel	nasmInMacLblWarn
148  else
149    hi link nasmInMacCatLabel	nasmInMacLabel
150  endif
151else
152  syn match  nasmInMacLabel	contained "%\(%\(\w\|[#?@~]\)\k*\>\|{%\(\w\|[#?@~]\)\k*}\)"
153  syn match  nasmInMacLabel	contained "%\($\+\(\h\|[?@]\)\k*\>\|{$\+\(\h\|[?@]\)\k*}\)"
154  hi link nasmInMacCatLabel	nasmLabelError
155endif
156syn match   nasmInMacCatLabel	contained "\d\K\k*"lc=1
157syn match   nasmInMacLabel	contained "\d}\k\+"lc=2
158if !exists("nasm_no_warn")
159  syn match  nasmInMacLblWarn	contained "%\(\($\+\|%\)[_~][._~]*\>\|{\($\+\|%\)[_~][._~]*}\)"
160endif
161syn match   nasmInMacPreProc	contained "^\s*%pop\>"hs=e-3
162syn match   nasmInMacPreProc	contained "^\s*%\(push\|repl\)\>"hs=e-4 skipwhite nextgroup=@nasmGrpNxtCtx
163"   structures cannot be nested (yet) -> use: 'keepend' and 're='
164syn region  nasmInMacStrucDef	contained transparent matchgroup=nasmStructure keepend start="^\s*STRUCT\>"hs=e-5 end="^\s*ENDSTRUCT\>"re=e-9 contains=@nasmGrpCntnMacro
165syn region  nasmInMacStrucDef	contained transparent matchgroup=nasmStructure keepend start="^\s*STRUC\>"hs=e-4  end="^\s*ENDSTRUC\>"re=e-8  contains=@nasmGrpCntnMacro
166syn region  nasmInMacStrucDef	contained transparent matchgroup=nasmStructure keepend start="\<ISTRUCT\=\>" end="\<IEND\(STRUCT\=\)\=\>" contains=@nasmGrpCntnMacro,nasmInStructure
167"   union types are not part of nasm (yet)
168"syn region  nasmInMacStrucDef	contained transparent matchgroup=nasmStructure keepend start="^\s*UNION\>"hs=e-4 end="^\s*ENDUNION\>"re=e-8 contains=@nasmGrpCntnMacro
169"syn region  nasmInMacStrucDef	contained transparent matchgroup=nasmStructure keepend start="\<IUNION\>" end="\<IEND\(UNION\)\=\>" contains=@nasmGrpCntnMacro,nasmInStructure
170syn region  nasmInMacPreConDef	contained transparent matchgroup=nasmInMacPreCondit start="^\s*%ifnidni\>"hs=e-7 start="^\s*%if\(idni\|n\(ctx\|def\|idn\|num\|str\)\)\>"hs=e-6 start="^\s*%if\(ctx\|def\|idn\|nid\|num\|str\)\>"hs=e-5 start="^\s*%ifid\>"hs=e-4 start="^\s*%if\>"hs=e-2 end="%endif\>" contains=@nasmGrpCntnMacro,nasmInMacPreCondit,nasmInPreCondit
171" Todo: allow STRUC/ISTRUC to be used inside preprocessor conditional block
172syn match   nasmInMacPreCondit	contained transparent "ctx\s"lc=3 skipwhite nextgroup=@nasmGrpNxtCtx
173syn match   nasmInMacPreCondit	contained "^\s*%elifctx\>"hs=e-7 skipwhite nextgroup=@nasmGrpNxtCtx
174syn match   nasmInMacPreCondit	contained "^\s*%elifnctx\>"hs=e-8 skipwhite nextgroup=@nasmGrpNxtCtx
175syn match   nasmInMacParamNum	contained "\<\d\+\.list\>"me=e-5
176syn match   nasmInMacParamNum	contained "\<\d\+\.nolist\>"me=e-7
177syn match   nasmInMacDirective	contained "\.\(no\)\=list\>"
178syn match   nasmInMacMacro	contained transparent "macro\s"lc=5 skipwhite nextgroup=nasmStructureLabel
179syn match   nasmInMacMacro	contained "^\s*%rotate\>"hs=e-6
180syn match   nasmInMacParam	contained "%\([+-]\=\d\+\|{[+-]\=\d\+}\)"
181"   nasm conditional macro operands/arguments
182"   Todo: check feasebility; add too nasmGrpInMacros, etc.
183"syn match   nasmInMacCond	contained "\<\(N\=\([ABGL]E\=\|[CEOSZ]\)\|P[EO]\=\)\>"
184syn cluster nasmGrpInMacros	contains=nasmMacro,nasmInMacMacro,nasmInMacParam,nasmInMacParamNum,nasmInMacDirective,nasmInMacLabel,nasmInMacLblWarn,nasmInMacMemRef,nasmInMacPreConDef,nasmInMacPreCondit,nasmInMacPreProc,nasmInMacStrucDef
185
186"   Context pre-procs that are better used inside a macro
187if exists("nasm_ctx_outside_macro")
188  syn region nasmPreConditDef	transparent matchgroup=nasmCtxPreCondit start="^\s*%ifnctx\>"hs=e-6 start="^\s*%ifctx\>"hs=e-5 end="%endif\>" contains=@nasmGrpCntnPreCon
189  syn match  nasmCtxPreProc	"^\s*%pop\>"hs=e-3
190  if exists("nasm_loose_syntax")
191    syn match   nasmCtxLocLabel	"%$\+\(\w\|[#.?@~]\)\k*\>"
192  else
193    syn match   nasmCtxLocLabel	"%$\+\(\h\|[?@]\)\k*\>"
194  endif
195  syn match nasmCtxPreProc	"^\s*%\(push\|repl\)\>"hs=e-4 skipwhite nextgroup=@nasmGrpNxtCtx
196  syn match nasmCtxPreCondit	contained transparent "ctx\s"lc=3 skipwhite nextgroup=@nasmGrpNxtCtx
197  syn match nasmCtxPreCondit	contained "^\s*%elifctx\>"hs=e-7 skipwhite nextgroup=@nasmGrpNxtCtx
198  syn match nasmCtxPreCondit	contained "^\s*%elifnctx\>"hs=e-8 skipwhite nextgroup=@nasmGrpNxtCtx
199  if exists("nasm_no_warn")
200    hi link nasmCtxPreCondit	nasmPreCondit
201    hi link nasmCtxPreProc	nasmPreProc
202    hi link nasmCtxLocLabel	nasmLocalLabel
203  else
204    hi link nasmCtxPreCondit	nasmPreProcWarn
205    hi link nasmCtxPreProc	nasmPreProcWarn
206    hi link nasmCtxLocLabel	nasmLabelWarn
207  endif
208endif
209
210"  Conditional assembly
211syn cluster nasmGrpCntnPreCon	contains=ALLBUT,@nasmGrpInComments,@nasmGrpInMacros,@nasmGrpInStrucs
212syn region  nasmPreConditDef	transparent matchgroup=nasmPreCondit start="^\s*%ifnidni\>"hs=e-7 start="^\s*%if\(idni\|n\(def\|idn\|num\|str\)\)\>"hs=e-6 start="^\s*%if\(def\|idn\|nid\|num\|str\)\>"hs=e-5 start="^\s*%ifid\>"hs=e-4 start="^\s*%if\>"hs=e-2 end="%endif\>" contains=@nasmGrpCntnPreCon
213syn match   nasmInPreCondit	contained "^\s*%el\(if\|se\)\>"hs=e-4
214syn match   nasmInPreCondit	contained "^\s*%elifid\>"hs=e-6
215syn match   nasmInPreCondit	contained "^\s*%elif\(def\|idn\|nid\|num\|str\)\>"hs=e-7
216syn match   nasmInPreCondit	contained "^\s*%elif\(n\(def\|idn\|num\|str\)\|idni\)\>"hs=e-8
217syn match   nasmInPreCondit	contained "^\s*%elifnidni\>"hs=e-9
218syn cluster nasmGrpInPreCondits	contains=nasmPreCondit,nasmInPreCondit,nasmCtxPreCondit
219syn cluster nasmGrpPreCondits	contains=nasmPreConditDef,@nasmGrpInPreCondits,nasmCtxPreProc,nasmCtxLocLabel
220
221"  Other pre-processor statements
222syn match   nasmPreProc		"^\s*%\(rep\|use\)\>"hs=e-3
223syn match   nasmPreProc		"^\s*%line\>"hs=e-4
224syn match   nasmPreProc		"^\s*%\(clear\|error\|fatal\)\>"hs=e-5
225syn match   nasmPreProc		"^\s*%\(endrep\|strlen\|substr\)\>"hs=e-6
226syn match   nasmPreProc		"^\s*%\(exitrep\|warning\)\>"hs=e-7
227syn match   nasmDefine		"^\s*%undef\>"hs=e-5
228syn match   nasmDefine		"^\s*%\(assign\|define\)\>"hs=e-6
229syn match   nasmDefine		"^\s*%i\(assign\|define\)\>"hs=e-7
230syn match   nasmDefine		"^\s*%unmacro\>"hs=e-7
231syn match   nasmInclude		"^\s*%include\>"hs=e-7
232" Todo: Treat the line tail after %fatal, %error, %warning as text
233
234"  Multiple pre-processor instructions on single line detection (obsolete)
235"syn match   nasmPreProcError	+^\s*\([^\t "%';][^"%';]*\|[^\t "';][^"%';]\+\)%\a\+\>+
236syn cluster nasmGrpPreProcs	contains=nasmMacroDef,@nasmGrpInMacros,@nasmGrpPreCondits,nasmPreProc,nasmDefine,nasmInclude,nasmPreProcWarn,nasmPreProcError
237
238
239
240" Register Identifiers:
241"  Register operands:
242syn match   nasmGen08Register	"\<[A-D][HL]\>"
243syn match   nasmGen16Register	"\<\([A-D]X\|[DS]I\|[BS]P\)\>"
244syn match   nasmGen32Register	"\<E\([A-D]X\|[DS]I\|[BS]P\)\>"
245syn match   nasmGen64Register	"\<R\([A-D]X\|[DS]I\|[BS]P\|[89]\|1[0-5]\|[89][WDB]\|1[0-5][WDB]\)\>"
246syn match   nasmExtRegister     "\<\([SB]PL\|[SD]IL\)\>"
247syn match   nasmSegRegister	"\<[C-GS]S\>"
248syn match   nasmSpcRegister	"\<E\=IP\>"
249syn match   nasmFpuRegister	"\<ST\o\>"
250syn match   nasmMmxRegister	"\<MM\o\>"
251syn match   nasmAvxRegister	"\<[XYZ]MM\d\{1,2}\>"
252syn match   nasmCtrlRegister	"\<CR\o\>"
253syn match   nasmDebugRegister	"\<DR\o\>"
254syn match   nasmTestRegister	"\<TR\o\>"
255syn match   nasmRegisterError	"\<\(CR[15-9]\|DR[4-58-9]\|TR[0-28-9]\)\>"
256syn match   nasmRegisterError	"\<[XYZ]MM\(3[2-9]\|[04-9]\d\)\>"
257syn match   nasmRegisterError	"\<ST\((\d)\|[8-9]\>\)"
258syn match   nasmRegisterError	"\<E\([A-D][HL]\|[C-GS]S\)\>"
259"  Memory reference operand (address):
260syn match   nasmMemRefError	"[[\]]"
261syn cluster nasmGrpCntnMemRef	contains=ALLBUT,@nasmGrpComments,@nasmGrpPreProcs,@nasmGrpInStrucs,nasmMemReference,nasmMemRefError
262syn match   nasmInMacMemRef	contained "\[[^;[\]]\{-}\]" contains=@nasmGrpCntnMemRef,nasmPreProcError,nasmInMacLabel,nasmInMacLblWarn,nasmInMacParam
263syn match   nasmMemReference	"\[[^;[\]]\{-}\]" contains=@nasmGrpCntnMemRef,nasmPreProcError,nasmCtxLocLabel
264
265
266
267" Netwide Assembler Directives:
268"  Compilation constants
269syn keyword nasmConstant	__BITS__ __DATE__ __FILE__ __FORMAT__ __LINE__
270syn keyword nasmConstant	__NASM_MAJOR__ __NASM_MINOR__ __NASM_VERSION__
271syn keyword nasmConstant	__TIME__
272"  Instruction modifiers
273syn match   nasmInstrModifier	"\(^\|:\)\s*[C-GS]S\>"ms=e-1
274syn keyword nasmInstrModifier	A16 A32 O16 O32
275syn match   nasmInstrModifier	"\<F\(ADD\|MUL\|\(DIV\|SUB\)R\=\)\s\+TO\>"lc=5,ms=e-1
276"   the 'to' keyword is not allowed for fpu-pop instructions (yet)
277"syn match   nasmInstrModifier	"\<F\(ADD\|MUL\|\(DIV\|SUB\)R\=\)P\s\+TO\>"lc=6,ms=e-1
278"  NAsm directives
279syn keyword nasmRepeat		TIMES
280syn keyword nasmDirective	ALIGN[B] INCBIN EQU NOSPLIT SPLIT
281syn keyword nasmDirective	ABSOLUTE BITS SECTION SEGMENT DEFAULT
282syn keyword nasmDirective	ENDSECTION ENDSEGMENT
283syn keyword nasmDirective	__SECT__
284"  Macro created standard directives: (requires %include)
285syn case match
286syn keyword nasmStdDirective	ENDPROC EPILOGUE LOCALS PROC PROLOGUE USES
287syn keyword nasmStdDirective	ENDIF ELSE ELIF ELSIF IF
288"syn keyword nasmStdDirective	BREAK CASE DEFAULT ENDSWITCH SWITCH
289"syn keyword nasmStdDirective	CASE OF ENDCASE
290syn keyword nasmStdDirective	ENDFOR ENDWHILE FOR REPEAT UNTIL WHILE EXIT
291syn case ignore
292"  Format specific directives: (all formats)
293"  (excluded: extension directives to section, global, common and extern)
294syn keyword nasmFmtDirective	ORG
295syn keyword nasmFmtDirective	EXPORT IMPORT GROUP UPPERCASE SEG WRT
296syn keyword nasmFmtDirective	LIBRARY
297syn case match
298syn keyword nasmFmtDirective	_GLOBAL_OFFSET_TABLE_ __GLOBAL_OFFSET_TABLE_
299syn keyword nasmFmtDirective	..start ..got ..gotoff ..gotpc ..plt ..sym
300syn case ignore
301
302" Instruction errors:
303"  Instruction modifiers
304syn match   nasmInstructnError	"\<TO\>"
305" Standard Instructions:
306syn match   nasmInstructnError	"\<\(F\=CMOV\|SET\|J\)N\=\a\{0,2}\>"
307syn match   nasmInstructnError	"\<CMP\a\{0,2}XADD\>"
308syn keyword nasmInstructnError	CMPS MOVS LCS LODS STOS XLAT
309syn match   nasmInstructnError	"\<MOV\s[^,;[]*\<CS\>\s*[^:]"he=e-1
310"  Input and Output
311syn keyword nasmInstructnError	INS OUTS
312"  Standard MMX instructions: (requires MMX1 unit)
313syn match   nasmInstructnError	"\<P\(ADD\|SUB\)U\=S\=[DQ]\=\>"
314syn match   nasmInstructnError	"\<PCMP\a\{0,2}[BDWQ]\=\>"
315" Streaming SIMD Extension Packed Instructions: (requires SSE unit)
316syn match   nasmInstructnError	"\<CMP\a\{1,5}[PS]S\>"
317" AVX Instructions
318syn match   nasmInstructnError  "\<VP\a\{3}R\a\>"
319
320
321" Instructions:
322" Standard
323syn keyword nasmInstructionStandard AAA AAD AAM AAS ADC
324syn keyword nasmInstructionStandard ADD AND ARPL
325syn keyword nasmInstructionStandard BOUND BSF BSR BSWAP BT
326syn keyword nasmInstructionStandard BTC BTR BTS CALL CBW
327syn keyword nasmInstructionStandard CDQ CDQE CLC CLD CLI
328syn keyword nasmInstructionStandard CLTS CMC CMP CMPSB CMPSD
329syn keyword nasmInstructionStandard CMPSQ CMPSW CMPXCHG CMPXCHG486 CMPXCHG8B
330syn keyword nasmInstructionStandard CMPXCHG16B CPUID CQO
331syn keyword nasmInstructionStandard CWD CWDE DAA DAS DEC
332syn keyword nasmInstructionStandard DIV EMMS ENTER EQU
333syn keyword nasmInstructionStandard F2XM1 FABS FADD FADDP FBLD
334syn keyword nasmInstructionStandard FBSTP FCHS FCLEX FCMOVB FCMOVBE
335syn keyword nasmInstructionStandard FCMOVE FCMOVNB FCMOVNBE FCMOVNE FCMOVNU
336syn keyword nasmInstructionStandard FCMOVU FCOM FCOMI FCOMIP FCOMP
337syn keyword nasmInstructionStandard FCOMPP FCOS FDECSTP FDISI FDIV
338syn keyword nasmInstructionStandard FDIVP FDIVR FDIVRP FEMMS FENI
339syn keyword nasmInstructionStandard FFREE FFREEP FIADD FICOM FICOMP
340syn keyword nasmInstructionStandard FIDIV FIDIVR FILD FIMUL FINCSTP
341syn keyword nasmInstructionStandard FINIT FIST FISTP FISTTP FISUB
342syn keyword nasmInstructionStandard FISUBR FLD FLD1 FLDCW FLDENV
343syn keyword nasmInstructionStandard FLDL2E FLDL2T FLDLG2 FLDLN2 FLDPI
344syn keyword nasmInstructionStandard FLDZ FMUL FMULP FNCLEX FNDISI
345syn keyword nasmInstructionStandard FNENI FNINIT FNOP FNSAVE FNSTCW
346syn keyword nasmInstructionStandard FNSTENV FNSTSW FPATAN FPREM FPREM1
347syn keyword nasmInstructionStandard FPTAN FRNDINT FRSTOR FSAVE FSCALE
348syn keyword nasmInstructionStandard FSETPM FSIN FSINCOS FSQRT FST
349syn keyword nasmInstructionStandard FSTCW FSTENV FSTP FSTSW FSUB
350syn keyword nasmInstructionStandard FSUBP FSUBR FSUBRP FTST FUCOM
351syn keyword nasmInstructionStandard FUCOMI FUCOMIP FUCOMP FUCOMPP FXAM
352syn keyword nasmInstructionStandard FXCH FXTRACT FYL2X FYL2XP1 HLT
353syn keyword nasmInstructionStandard IBTS ICEBP IDIV IMUL IN
354syn keyword nasmInstructionStandard INC INSB INSD INSW INT
355syn keyword nasmInstructionStandard INTO
356syn keyword nasmInstructionStandard INVD INVPCID INVLPG INVLPGA IRET
357syn keyword nasmInstructionStandard IRETD IRETQ IRETW JCXZ JECXZ
358syn keyword nasmInstructionStandard JRCXZ JMP JMPE LAHF LAR
359syn keyword nasmInstructionStandard LDS LEA LEAVE LES LFENCE
360syn keyword nasmInstructionStandard LFS LGDT LGS LIDT LLDT
361syn keyword nasmInstructionStandard LMSW LOADALL LOADALL286 LODSB LODSD
362syn keyword nasmInstructionStandard LODSQ LODSW LOOP LOOPE LOOPNE
363syn keyword nasmInstructionStandard LOOPNZ LOOPZ LSL LSS LTR
364syn keyword nasmInstructionStandard MFENCE MONITOR MONITORX MOV MOVD
365syn keyword nasmInstructionStandard MOVQ MOVSB MOVSD MOVSQ MOVSW
366syn keyword nasmInstructionStandard MOVSX MOVSXD MOVSX MOVZX MUL
367syn keyword nasmInstructionStandard MWAIT MWAITX NEG NOP NOT
368syn keyword nasmInstructionStandard OR OUT OUTSB OUTSD OUTSW
369syn keyword nasmInstructionStandard PACKSSDW PACKSSWB PACKUSWB PADDB PADDD
370syn keyword nasmInstructionStandard PADDSB PADDSW PADDUSB PADDUSW
371syn keyword nasmInstructionStandard PADDW PAND PANDN PAUSE
372syn keyword nasmInstructionStandard PAVGUSB PCMPEQB PCMPEQD PCMPEQW PCMPGTB
373syn keyword nasmInstructionStandard PCMPGTD PCMPGTW PF2ID PFACC
374syn keyword nasmInstructionStandard PFADD PFCMPEQ PFCMPGE PFCMPGT PFMAX
375syn keyword nasmInstructionStandard PFMIN PFMUL PFRCP PFRCPIT1 PFRCPIT2
376syn keyword nasmInstructionStandard PFRSQIT1 PFRSQRT PFSUB PFSUBR PI2FD
377syn keyword nasmInstructionStandard PMADDWD PMULHRWA
378syn keyword nasmInstructionStandard PMULHW PMULLW
379syn keyword nasmInstructionStandard POP POPA POPAD
380syn keyword nasmInstructionStandard POPAW POPF POPFD POPFQ POPFW
381syn keyword nasmInstructionStandard POR PREFETCH PREFETCHW PSLLD PSLLQ
382syn keyword nasmInstructionStandard PSLLW PSRAD PSRAW PSRLD PSRLQ
383syn keyword nasmInstructionStandard PSRLW PSUBB PSUBD PSUBSB
384syn keyword nasmInstructionStandard PSUBSW PSUBUSB PSUBUSW PSUBW PUNPCKHBW
385syn keyword nasmInstructionStandard PUNPCKHDQ PUNPCKHWD PUNPCKLBW PUNPCKLDQ PUNPCKLWD
386syn keyword nasmInstructionStandard PUSH PUSHA PUSHAD PUSHAW PUSHF
387syn keyword nasmInstructionStandard PUSHFD PUSHFQ PUSHFW PXOR RCL
388syn keyword nasmInstructionStandard RCR
389syn keyword nasmInstructionStandard RDTSCP RET RETF RETN RETW
390syn keyword nasmInstructionStandard RETFW RETNW RETD RETFD RETND
391syn keyword nasmInstructionStandard RETQ RETFQ RETNQ ROL ROR
392syn keyword nasmInstructionStandard RSM RSTS
393syn keyword nasmInstructionStandard SAHF SAL SALC SAR SBB
394syn keyword nasmInstructionStandard SCASB SCASD SCASQ SCASW SFENCE
395syn keyword nasmInstructionStandard SGDT SHL SHLD SHR SHRD
396syn keyword nasmInstructionStandard SIDT SLDT SKINIT SMI
397syn keyword nasmInstructionStandard SMSW STC STD STI
398syn keyword nasmInstructionStandard STOSB STOSD STOSQ STOSW STR
399syn keyword nasmInstructionStandard SUB SWAPGS
400syn keyword nasmInstructionStandard SYSCALL SYSENTER SYSEXIT SYSRET TEST
401syn keyword nasmInstructionStandard UD0 UD1 UD2B UD2 UD2A
402syn keyword nasmInstructionStandard UMOV VERR VERW FWAIT WBINVD
403syn keyword nasmInstructionStandard XADD XBTS XCHG
404syn keyword nasmInstructionStandard XLATB XLAT XOR CMOVA CMOVAE
405syn keyword nasmInstructionStandard CMOVB CMOVBE CMOVC CMOVE CMOVG
406syn keyword nasmInstructionStandard CMOVGE CMOVL CMOVLE CMOVNA CMOVNAE
407syn keyword nasmInstructionStandard CMOVNB CMOVNBE CMOVNC CMOVNE CMOVNG
408syn keyword nasmInstructionStandard CMOVNGE CMOVNL CMOVNLE CMOVNO CMOVNP
409syn keyword nasmInstructionStandard CMOVNS CMOVNZ CMOVO CMOVP CMOVPE
410syn keyword nasmInstructionStandard CMOVPO CMOVS CMOVZ JA JAE
411syn keyword nasmInstructionStandard JB JBE JC JCXZ JE
412syn keyword nasmInstructionStandard JECXZ JG JGE JL JLE
413syn keyword nasmInstructionStandard JNA JNAE JNB JNBE JNC
414syn keyword nasmInstructionStandard JNE JNG JNGE JNL JNLE
415syn keyword nasmInstructionStandard JNO JNP JNS JNZ JO
416syn keyword nasmInstructionStandard JP JPE JPO JRCXZ JS
417syn keyword nasmInstructionStandard JZ SETA SETAE SETB SETBE
418syn keyword nasmInstructionStandard SETC SETE SETG SETGE SETL
419syn keyword nasmInstructionStandard SETLE SETNA SETNAE SETNB SETNBE
420syn keyword nasmInstructionStandard SETNC SETNE SETNG SETNGE SETNL
421syn keyword nasmInstructionStandard SETNLE SETNO SETNP SETNS SETNZ
422syn keyword nasmInstructionStandard SETO SETP SETPE SETPO SETS
423syn keyword nasmInstructionStandard SETZ
424" SIMD
425syn keyword nasmInstructionSIMD ADDPS ADDSS ANDNPS ANDPS CMPEQPS
426syn keyword nasmInstructionSIMD CMPEQSS CMPLEPS CMPLESS CMPLTPS CMPLTSS
427syn keyword nasmInstructionSIMD CMPNEQPS CMPNEQSS CMPNLEPS CMPNLESS CMPNLTPS
428syn keyword nasmInstructionSIMD CMPNLTSS CMPORDPS CMPORDSS CMPUNORDPS CMPUNORDSS
429syn keyword nasmInstructionSIMD CMPPS CMPSS COMISS CVTPI2PS CVTPS2PI
430syn keyword nasmInstructionSIMD CVTSI2SS CVTSS2SI CVTTPS2PI CVTTSS2SI DIVPS
431syn keyword nasmInstructionSIMD DIVSS LDMXCSR MAXPS MAXSS MINPS
432syn keyword nasmInstructionSIMD MINSS MOVAPS MOVHPS MOVLHPS MOVLPS
433syn keyword nasmInstructionSIMD MOVHLPS MOVMSKPS MOVNTPS MOVSS MOVUPS
434syn keyword nasmInstructionSIMD MULPS MULSS ORPS RCPPS RCPSS
435syn keyword nasmInstructionSIMD RSQRTPS RSQRTSS SHUFPS SQRTPS SQRTSS
436syn keyword nasmInstructionSIMD STMXCSR SUBPS SUBSS UCOMISS UNPCKHPS
437syn keyword nasmInstructionSIMD UNPCKLPS XORPS
438" SSE
439syn keyword nasmInstructionSSE FXRSTOR FXRSTOR64 FXSAVE FXSAVE64
440" XSAVE
441syn keyword nasmInstructionXSAVE XGETBV XSETBV XSAVE XSAVE64 XSAVEC
442syn keyword nasmInstructionXSAVE XSAVEC64 XSAVEOPT XSAVEOPT64 XSAVES XSAVES64
443syn keyword nasmInstructionXSAVE XRSTOR XRSTOR64 XRSTORS XRSTORS64
444" MEM
445syn keyword nasmInstructionMEM PREFETCHNTA PREFETCHT0 PREFETCHT1 PREFETCHT2 PREFETCHIT0
446syn keyword nasmInstructionMEM PREFETCHIT1 SFENCE
447" MMX
448syn keyword nasmInstructionMMX MASKMOVQ MOVNTQ PAVGB PAVGW PEXTRW
449syn keyword nasmInstructionMMX PINSRW PMAXSW PMAXUB PMINSW PMINUB
450syn keyword nasmInstructionMMX PMOVMSKB PMULHUW PSADBW PSHUFW
451" 3DNOW
452syn keyword nasmInstruction3DNOW PF2IW PFNACC PFPNACC PI2FW PSWAPD
453" SSE2
454syn keyword nasmInstructionSSE2 MASKMOVDQU CLFLUSH MOVNTDQ MOVNTI MOVNTPD
455syn keyword nasmInstructionSSE2 LFENCE MFENCE
456" WMMX
457syn keyword nasmInstructionWMMX MOVD MOVDQA MOVDQU MOVDQ2Q MOVQ
458syn keyword nasmInstructionWMMX MOVQ2DQ PACKSSWB PACKSSDW PACKUSWB PADDB
459syn keyword nasmInstructionWMMX PADDW PADDD PADDQ PADDSB PADDSW
460syn keyword nasmInstructionWMMX PADDUSB PADDUSW PAND PANDN PAVGB
461syn keyword nasmInstructionWMMX PAVGW PCMPEQB PCMPEQW PCMPEQD PCMPGTB
462syn keyword nasmInstructionWMMX PCMPGTW PCMPGTD PEXTRW PINSRW PMADDWD
463syn keyword nasmInstructionWMMX PMAXSW PMAXUB PMINSW PMINUB PMOVMSKB
464syn keyword nasmInstructionWMMX PMULHUW PMULHW PMULLW PMULUDQ POR
465syn keyword nasmInstructionWMMX PSADBW PSHUFD PSHUFHW PSHUFLW PSLLDQ
466syn keyword nasmInstructionWMMX PSLLW PSLLD PSLLQ PSRAW PSRAD
467syn keyword nasmInstructionWMMX PSRLDQ PSRLW PSRLD PSRLQ PSUBB
468syn keyword nasmInstructionWMMX PSUBW PSUBD PSUBQ PSUBSB PSUBSW
469syn keyword nasmInstructionWMMX PSUBUSB PSUBUSW PUNPCKHBW PUNPCKHWD PUNPCKHDQ
470syn keyword nasmInstructionWMMX PUNPCKHQDQ PUNPCKLBW PUNPCKLWD PUNPCKLDQ PUNPCKLQDQ
471syn keyword nasmInstructionWMMX PXOR
472" WSSD
473syn keyword nasmInstructionWSSD ADDPD ADDSD ANDNPD ANDPD CMPEQPD
474syn keyword nasmInstructionWSSD CMPEQSD CMPLEPD CMPLESD CMPLTPD CMPLTSD
475syn keyword nasmInstructionWSSD CMPNEQPD CMPNEQSD CMPNLEPD CMPNLESD CMPNLTPD
476syn keyword nasmInstructionWSSD CMPNLTSD CMPORDPD CMPORDSD CMPUNORDPD CMPUNORDSD
477syn keyword nasmInstructionWSSD CMPPD CMPSD COMISD CVTDQ2PD CVTDQ2PS
478syn keyword nasmInstructionWSSD CVTPD2DQ CVTPD2PI CVTPD2PS CVTPI2PD CVTPS2DQ
479syn keyword nasmInstructionWSSD CVTPS2PD CVTSD2SI CVTSD2SS CVTSI2SD CVTSS2SD
480syn keyword nasmInstructionWSSD CVTTPD2PI CVTTPD2DQ CVTTPS2DQ CVTTSD2SI DIVPD
481syn keyword nasmInstructionWSSD DIVSD MAXPD MAXSD MINPD MINSD
482syn keyword nasmInstructionWSSD MOVAPD MOVHPD MOVLPD MOVMSKPD MOVSD
483syn keyword nasmInstructionWSSD MOVUPD MULPD MULSD ORPD SHUFPD
484syn keyword nasmInstructionWSSD SQRTPD SQRTSD SUBPD SUBSD UCOMISD
485syn keyword nasmInstructionWSSD UNPCKHPD UNPCKLPD XORPD
486" PRESSCOT
487syn keyword nasmInstructionPRESSCOT ADDSUBPD ADDSUBPS HADDPD HADDPS HSUBPD
488syn keyword nasmInstructionPRESSCOT HSUBPS LDDQU MOVDDUP MOVSHDUP MOVSLDUP
489" VMXSVM
490syn keyword nasmInstructionVMXSVM CLGI STGI VMCALL VMCLEAR VMFUNC
491syn keyword nasmInstructionVMXSVM VMLAUNCH VMLOAD VMMCALL VMPTRLD VMPTRST
492syn keyword nasmInstructionVMXSVM VMREAD VMRESUME VMRUN VMSAVE VMWRITE
493syn keyword nasmInstructionVMXSVM VMXOFF VMXON
494" PTVMX
495syn keyword nasmInstructionPTVMX INVEPT INVVPID
496" SEVSNPAMD
497syn keyword nasmInstructionSEVSNPAMD PVALIDATE RMPADJUST VMGEXIT
498" TEJAS
499syn keyword nasmInstructionTEJAS PABSB PABSW PABSD PALIGNR PHADDW
500syn keyword nasmInstructionTEJAS PHADDD PHADDSW PHSUBW PHSUBD PHSUBSW
501syn keyword nasmInstructionTEJAS PMADDUBSW PMULHRSW PSHUFB PSIGNB PSIGNW
502syn keyword nasmInstructionTEJAS PSIGND
503" AMD_SSE4A
504syn keyword nasmInstructionAMD_SSE4A EXTRQ INSERTQ MOVNTSD MOVNTSS
505" BARCELONA
506syn keyword nasmInstructionBARCELONA LZCNT
507" PENRY
508syn keyword nasmInstructionPENRY BLENDPD BLENDPS BLENDVPD BLENDVPS DPPD
509syn keyword nasmInstructionPENRY DPPS EXTRACTPS INSERTPS MOVNTDQA MPSADBW
510syn keyword nasmInstructionPENRY PACKUSDW PBLENDVB PBLENDW PCMPEQQ PEXTRB
511syn keyword nasmInstructionPENRY PEXTRD PEXTRQ PEXTRW PHMINPOSUW PINSRB
512syn keyword nasmInstructionPENRY PINSRD PINSRQ PMAXSB PMAXSD PMAXUD
513syn keyword nasmInstructionPENRY PMAXUW PMINSB PMINSD PMINUD PMINUW
514syn keyword nasmInstructionPENRY PMOVSXBW PMOVSXBD PMOVSXBQ PMOVSXWD PMOVSXWQ
515syn keyword nasmInstructionPENRY PMOVSXDQ PMOVZXBW PMOVZXBD PMOVZXBQ PMOVZXWD
516syn keyword nasmInstructionPENRY PMOVZXWQ PMOVZXDQ PMULDQ PMULLD PTEST
517syn keyword nasmInstructionPENRY ROUNDPD ROUNDPS ROUNDSD ROUNDSS
518" NEHALEM
519syn keyword nasmInstructionNEHALEM CRC32 PCMPESTRI PCMPESTRM PCMPISTRI PCMPISTRM
520syn keyword nasmInstructionNEHALEM PCMPGTQ POPCNT
521" SMX
522syn keyword nasmInstructionSMX GETSEC
523" GEODE_3DNOW
524syn keyword nasmInstructionGEODE_3DNOW PFRCPV PFRSQRTV
525" INTEL_NEW
526syn keyword nasmInstructionINTEL_NEW MOVBE
527" AES
528syn keyword nasmInstructionAES AESENC AESENCLAST AESDEC AESDECLAST AESIMC
529syn keyword nasmInstructionAES AESKEYGENASSIST
530" AVX_AES
531syn keyword nasmInstructionAVX_AES VAESENC VAESENCLAST VAESDEC VAESDECLAST VAESIMC
532syn keyword nasmInstructionAVX_AES VAESKEYGENASSIST
533" INTEL_PUB
534syn keyword nasmInstructionINTEL_PUB VAESENC VAESENCLAST VAESDEC VAESDECLAST VAESENC
535syn keyword nasmInstructionINTEL_PUB VAESENCLAST VAESDEC VAESDECLAST VAESENC VAESENCLAST
536syn keyword nasmInstructionINTEL_PUB VAESDEC VAESDECLAST
537" AVX
538syn keyword nasmInstructionAVX VADDPD VADDPS VADDSD VADDSS VADDSUBPD
539syn keyword nasmInstructionAVX VADDSUBPS VANDPD VANDPS VANDNPD VANDNPS
540syn keyword nasmInstructionAVX VBLENDPD VBLENDPS VBLENDVPD VBLENDVPS VBROADCASTSS
541syn keyword nasmInstructionAVX VBROADCASTSD VBROADCASTF128 VCMPEQ_OSPD VCMPEQPD VCMPLT_OSPD
542syn keyword nasmInstructionAVX VCMPLTPD VCMPLE_OSPD VCMPLEPD VCMPUNORD_QPD VCMPUNORDPD
543syn keyword nasmInstructionAVX VCMPNEQ_UQPD VCMPNEQPD VCMPNLT_USPD VCMPNLTPD VCMPNLE_USPD
544syn keyword nasmInstructionAVX VCMPNLEPD VCMPORD_QPD VCMPORDPD VCMPEQ_UQPD VCMPNGE_USPD
545syn keyword nasmInstructionAVX VCMPNGEPD VCMPNGT_USPD VCMPNGTPD VCMPFALSE_OQPD VCMPFALSEPD
546syn keyword nasmInstructionAVX VCMPNEQ_OQPD VCMPGE_OSPD VCMPGEPD VCMPGT_OSPD VCMPGTPD
547syn keyword nasmInstructionAVX VCMPTRUE_UQPD VCMPTRUEPD VCMPEQ_OSPD VCMPLT_OQPD VCMPLE_OQPD
548syn keyword nasmInstructionAVX VCMPUNORD_SPD VCMPNEQ_USPD VCMPNLT_UQPD VCMPNLE_UQPD VCMPORD_SPD
549syn keyword nasmInstructionAVX VCMPEQ_USPD VCMPNGE_UQPD VCMPNGT_UQPD VCMPFALSE_OSPD VCMPNEQ_OSPD
550syn keyword nasmInstructionAVX VCMPGE_OQPD VCMPGT_OQPD VCMPTRUE_USPD VCMPPD VCMPEQ_OSPS
551syn keyword nasmInstructionAVX VCMPEQPS VCMPLT_OSPS VCMPLTPS VCMPLE_OSPS VCMPLEPS
552syn keyword nasmInstructionAVX VCMPUNORD_QPS VCMPUNORDPS VCMPNEQ_UQPS VCMPNEQPS VCMPNLT_USPS
553syn keyword nasmInstructionAVX VCMPNLTPS VCMPNLE_USPS VCMPNLEPS VCMPORD_QPS VCMPORDPS
554syn keyword nasmInstructionAVX VCMPEQ_UQPS VCMPNGE_USPS VCMPNGEPS VCMPNGT_USPS VCMPNGTPS
555syn keyword nasmInstructionAVX VCMPFALSE_OQPS VCMPFALSEPS VCMPNEQ_OQPS VCMPGE_OSPS VCMPGEPS
556syn keyword nasmInstructionAVX VCMPGT_OSPS VCMPGTPS VCMPTRUE_UQPS VCMPTRUEPS VCMPEQ_OSPS
557syn keyword nasmInstructionAVX VCMPLT_OQPS VCMPLE_OQPS VCMPUNORD_SPS VCMPNEQ_USPS VCMPNLT_UQPS
558syn keyword nasmInstructionAVX VCMPNLE_UQPS VCMPORD_SPS VCMPEQ_USPS VCMPNGE_UQPS VCMPNGT_UQPS
559syn keyword nasmInstructionAVX VCMPFALSE_OSPS VCMPNEQ_OSPS VCMPGE_OQPS VCMPGT_OQPS VCMPTRUE_USPS
560syn keyword nasmInstructionAVX VCMPPS VCMPEQ_OSSD VCMPEQSD VCMPLT_OSSD VCMPLTSD
561syn keyword nasmInstructionAVX VCMPLE_OSSD VCMPLESD VCMPUNORD_QSD VCMPUNORDSD VCMPNEQ_UQSD
562syn keyword nasmInstructionAVX VCMPNEQSD VCMPNLT_USSD VCMPNLTSD VCMPNLE_USSD VCMPNLESD
563syn keyword nasmInstructionAVX VCMPORD_QSD VCMPORDSD VCMPEQ_UQSD VCMPNGE_USSD VCMPNGESD
564syn keyword nasmInstructionAVX VCMPNGT_USSD VCMPNGTSD VCMPFALSE_OQSD VCMPFALSESD VCMPNEQ_OQSD
565syn keyword nasmInstructionAVX VCMPGE_OSSD VCMPGESD VCMPGT_OSSD VCMPGTSD VCMPTRUE_UQSD
566syn keyword nasmInstructionAVX VCMPTRUESD VCMPEQ_OSSD VCMPLT_OQSD VCMPLE_OQSD VCMPUNORD_SSD
567syn keyword nasmInstructionAVX VCMPNEQ_USSD VCMPNLT_UQSD VCMPNLE_UQSD VCMPORD_SSD VCMPEQ_USSD
568syn keyword nasmInstructionAVX VCMPNGE_UQSD VCMPNGT_UQSD VCMPFALSE_OSSD VCMPNEQ_OSSD VCMPGE_OQSD
569syn keyword nasmInstructionAVX VCMPGT_OQSD VCMPTRUE_USSD VCMPSD VCMPEQ_OSSS VCMPEQSS
570syn keyword nasmInstructionAVX VCMPLT_OSSS VCMPLTSS VCMPLE_OSSS VCMPLESS VCMPUNORD_QSS
571syn keyword nasmInstructionAVX VCMPUNORDSS VCMPNEQ_UQSS VCMPNEQSS VCMPNLT_USSS VCMPNLTSS
572syn keyword nasmInstructionAVX VCMPNLE_USSS VCMPNLESS VCMPORD_QSS VCMPORDSS VCMPEQ_UQSS
573syn keyword nasmInstructionAVX VCMPNGE_USSS VCMPNGESS VCMPNGT_USSS VCMPNGTSS VCMPFALSE_OQSS
574syn keyword nasmInstructionAVX VCMPFALSESS VCMPNEQ_OQSS VCMPGE_OSSS VCMPGESS VCMPGT_OSSS
575syn keyword nasmInstructionAVX VCMPGTSS VCMPTRUE_UQSS VCMPTRUESS VCMPEQ_OSSS VCMPLT_OQSS
576syn keyword nasmInstructionAVX VCMPLE_OQSS VCMPUNORD_SSS VCMPNEQ_USSS VCMPNLT_UQSS VCMPNLE_UQSS
577syn keyword nasmInstructionAVX VCMPORD_SSS VCMPEQ_USSS VCMPNGE_UQSS VCMPNGT_UQSS VCMPFALSE_OSSS
578syn keyword nasmInstructionAVX VCMPNEQ_OSSS VCMPGE_OQSS VCMPGT_OQSS VCMPTRUE_USSS VCMPSS
579syn keyword nasmInstructionAVX VCOMISD VCOMISS VCVTDQ2PD VCVTDQ2PS VCVTPD2DQ
580syn keyword nasmInstructionAVX VCVTPD2PS VCVTPS2DQ VCVTPS2PD VCVTSD2SI VCVTSD2SS
581syn keyword nasmInstructionAVX VCVTSI2SD VCVTSI2SS VCVTSS2SD VCVTSS2SI VCVTTPD2DQ
582syn keyword nasmInstructionAVX VCVTTPS2DQ VCVTTSD2SI VCVTTSS2SI VDIVPD VDIVPS
583syn keyword nasmInstructionAVX VDIVSD VDIVSS VDPPD VDPPS VEXTRACTF128
584syn keyword nasmInstructionAVX VEXTRACTPS VHADDPD VHADDPS VHSUBPD VHSUBPS
585syn keyword nasmInstructionAVX VINSERTF128 VINSERTPS VLDDQU VLDQQU VLDDQU
586syn keyword nasmInstructionAVX VLDMXCSR VMASKMOVDQU VMASKMOVPS VMASKMOVPD VMAXPD
587syn keyword nasmInstructionAVX VMAXPS VMAXSD VMAXSS VMINPD VMINPS
588syn keyword nasmInstructionAVX VMINSD VMINSS VMOVAPD VMOVAPS VMOVD
589syn keyword nasmInstructionAVX VMOVQ VMOVDDUP VMOVDQA VMOVQQA VMOVDQA
590syn keyword nasmInstructionAVX VMOVDQU VMOVQQU VMOVDQU VMOVHLPS VMOVHPD
591syn keyword nasmInstructionAVX VMOVHPS VMOVLHPS VMOVLPD VMOVLPS VMOVMSKPD
592syn keyword nasmInstructionAVX VMOVMSKPS VMOVNTDQ VMOVNTQQ VMOVNTDQ VMOVNTDQA
593syn keyword nasmInstructionAVX VMOVNTPD VMOVNTPS VMOVSD VMOVSHDUP VMOVSLDUP
594syn keyword nasmInstructionAVX VMOVSS VMOVUPD VMOVUPS VMPSADBW VMULPD
595syn keyword nasmInstructionAVX VMULPS VMULSD VMULSS VORPD VORPS
596syn keyword nasmInstructionAVX VPABSB VPABSW VPABSD VPACKSSWB VPACKSSDW
597syn keyword nasmInstructionAVX VPACKUSWB VPACKUSDW VPADDB VPADDW VPADDD
598syn keyword nasmInstructionAVX VPADDQ VPADDSB VPADDSW VPADDUSB VPADDUSW
599syn keyword nasmInstructionAVX VPALIGNR VPAND VPANDN VPAVGB VPAVGW
600syn keyword nasmInstructionAVX VPBLENDVB VPBLENDW VPCMPESTRI VPCMPESTRM VPCMPISTRI
601syn keyword nasmInstructionAVX VPCMPISTRM VPCMPEQB VPCMPEQW VPCMPEQD VPCMPEQQ
602syn keyword nasmInstructionAVX VPCMPGTB VPCMPGTW VPCMPGTD VPCMPGTQ VPERMILPD
603syn keyword nasmInstructionAVX VPERMILPS VPERM2F128 VPEXTRB VPEXTRW VPEXTRD
604syn keyword nasmInstructionAVX VPEXTRQ VPHADDW VPHADDD VPHADDSW VPHMINPOSUW
605syn keyword nasmInstructionAVX VPHSUBW VPHSUBD VPHSUBSW VPINSRB VPINSRW
606syn keyword nasmInstructionAVX VPINSRD VPINSRQ VPMADDWD VPMADDUBSW VPMAXSB
607syn keyword nasmInstructionAVX VPMAXSW VPMAXSD VPMAXUB VPMAXUW VPMAXUD
608syn keyword nasmInstructionAVX VPMINSB VPMINSW VPMINSD VPMINUB VPMINUW
609syn keyword nasmInstructionAVX VPMINUD VPMOVMSKB VPMOVSXBW VPMOVSXBD VPMOVSXBQ
610syn keyword nasmInstructionAVX VPMOVSXWD VPMOVSXWQ VPMOVSXDQ VPMOVZXBW VPMOVZXBD
611syn keyword nasmInstructionAVX VPMOVZXBQ VPMOVZXWD VPMOVZXWQ VPMOVZXDQ VPMULHUW
612syn keyword nasmInstructionAVX VPMULHRSW VPMULHW VPMULLW VPMULLD VPMULUDQ
613syn keyword nasmInstructionAVX VPMULDQ VPOR VPSADBW VPSHUFB VPSHUFD
614syn keyword nasmInstructionAVX VPSHUFHW VPSHUFLW VPSIGNB VPSIGNW VPSIGND
615syn keyword nasmInstructionAVX VPSLLDQ VPSRLDQ VPSLLW VPSLLD VPSLLQ
616syn keyword nasmInstructionAVX VPSRAW VPSRAD VPSRLW VPSRLD VPSRLQ
617syn keyword nasmInstructionAVX VPTEST VPSUBB VPSUBW VPSUBD VPSUBQ
618syn keyword nasmInstructionAVX VPSUBSB VPSUBSW VPSUBUSB VPSUBUSW VPUNPCKHBW
619syn keyword nasmInstructionAVX VPUNPCKHWD VPUNPCKHDQ VPUNPCKHQDQ VPUNPCKLBW VPUNPCKLWD
620syn keyword nasmInstructionAVX VPUNPCKLDQ VPUNPCKLQDQ VPXOR VRCPPS VRCPSS
621syn keyword nasmInstructionAVX VRSQRTPS VRSQRTSS VROUNDPD VROUNDPS VROUNDSD
622syn keyword nasmInstructionAVX VROUNDSS VSHUFPD VSHUFPS VSQRTPD VSQRTPS
623syn keyword nasmInstructionAVX VSQRTSD VSQRTSS VSTMXCSR VSUBPD VSUBPS
624syn keyword nasmInstructionAVX VSUBSD VSUBSS VTESTPS VTESTPD VUCOMISD
625syn keyword nasmInstructionAVX VUCOMISS VUNPCKHPD VUNPCKHPS VUNPCKLPD VUNPCKLPS
626syn keyword nasmInstructionAVX VXORPD VXORPS VZEROALL VZEROUPPER
627" INTEL_CMUL
628syn keyword nasmInstructionINTEL_CMUL PCLMULLQLQDQ PCLMULHQLQDQ PCLMULLQHQDQ PCLMULHQHQDQ PCLMULQDQ
629" INTEL_AVX_CMUL
630syn keyword nasmInstructionINTEL_AVX_CMUL VPCLMULLQLQDQ VPCLMULHQLQDQ VPCLMULLQHQDQ VPCLMULHQHQDQ VPCLMULQDQ
631syn keyword nasmInstructionINTEL_AVX_CMUL VPCLMULLQLQDQ VPCLMULHQLQDQ VPCLMULLQHQDQ VPCLMULHQHQDQ VPCLMULQDQ
632syn keyword nasmInstructionINTEL_AVX_CMUL VPCLMULLQLQDQ VPCLMULHQLQDQ VPCLMULLQHQDQ VPCLMULHQHQDQ VPCLMULQDQ
633syn keyword nasmInstructionINTEL_AVX_CMUL VPCLMULLQLQDQ VPCLMULHQLQDQ VPCLMULLQHQDQ VPCLMULHQHQDQ VPCLMULQDQ
634syn keyword nasmInstructionINTEL_AVX_CMUL VPCLMULLQLQDQ VPCLMULHQLQDQ VPCLMULLQHQDQ VPCLMULHQHQDQ VPCLMULQDQ
635" INTEL_FMA
636syn keyword nasmInstructionINTEL_FMA VFMADD132PS VFMADD132PD VFMADD312PS VFMADD312PD VFMADD213PS
637syn keyword nasmInstructionINTEL_FMA VFMADD213PD VFMADD123PS VFMADD123PD VFMADD231PS VFMADD231PD
638syn keyword nasmInstructionINTEL_FMA VFMADD321PS VFMADD321PD VFMADDSUB132PS VFMADDSUB132PD VFMADDSUB312PS
639syn keyword nasmInstructionINTEL_FMA VFMADDSUB312PD VFMADDSUB213PS VFMADDSUB213PD VFMADDSUB123PS VFMADDSUB123PD
640syn keyword nasmInstructionINTEL_FMA VFMADDSUB231PS VFMADDSUB231PD VFMADDSUB321PS VFMADDSUB321PD VFMSUB132PS
641syn keyword nasmInstructionINTEL_FMA VFMSUB132PD VFMSUB312PS VFMSUB312PD VFMSUB213PS VFMSUB213PD
642syn keyword nasmInstructionINTEL_FMA VFMSUB123PS VFMSUB123PD VFMSUB231PS VFMSUB231PD VFMSUB321PS
643syn keyword nasmInstructionINTEL_FMA VFMSUB321PD VFMSUBADD132PS VFMSUBADD132PD VFMSUBADD312PS VFMSUBADD312PD
644syn keyword nasmInstructionINTEL_FMA VFMSUBADD213PS VFMSUBADD213PD VFMSUBADD123PS VFMSUBADD123PD VFMSUBADD231PS
645syn keyword nasmInstructionINTEL_FMA VFMSUBADD231PD VFMSUBADD321PS VFMSUBADD321PD VFNMADD132PS VFNMADD132PD
646syn keyword nasmInstructionINTEL_FMA VFNMADD312PS VFNMADD312PD VFNMADD213PS VFNMADD213PD VFNMADD123PS
647syn keyword nasmInstructionINTEL_FMA VFNMADD123PD VFNMADD231PS VFNMADD231PD VFNMADD321PS VFNMADD321PD
648syn keyword nasmInstructionINTEL_FMA VFNMSUB132PS VFNMSUB132PD VFNMSUB312PS VFNMSUB312PD VFNMSUB213PS
649syn keyword nasmInstructionINTEL_FMA VFNMSUB213PD VFNMSUB123PS VFNMSUB123PD VFNMSUB231PS VFNMSUB231PD
650syn keyword nasmInstructionINTEL_FMA VFNMSUB321PS VFNMSUB321PD VFMADD132SS VFMADD132SD VFMADD312SS
651syn keyword nasmInstructionINTEL_FMA VFMADD312SD VFMADD213SS VFMADD213SD VFMADD123SS VFMADD123SD
652syn keyword nasmInstructionINTEL_FMA VFMADD231SS VFMADD231SD VFMADD321SS VFMADD321SD VFMSUB132SS
653syn keyword nasmInstructionINTEL_FMA VFMSUB132SD VFMSUB312SS VFMSUB312SD VFMSUB213SS VFMSUB213SD
654syn keyword nasmInstructionINTEL_FMA VFMSUB123SS VFMSUB123SD VFMSUB231SS VFMSUB231SD VFMSUB321SS
655syn keyword nasmInstructionINTEL_FMA VFMSUB321SD VFNMADD132SS VFNMADD132SD VFNMADD312SS VFNMADD312SD
656syn keyword nasmInstructionINTEL_FMA VFNMADD213SS VFNMADD213SD VFNMADD123SS VFNMADD123SD VFNMADD231SS
657syn keyword nasmInstructionINTEL_FMA VFNMADD231SD VFNMADD321SS VFNMADD321SD VFNMSUB132SS VFNMSUB132SD
658syn keyword nasmInstructionINTEL_FMA VFNMSUB312SS VFNMSUB312SD VFNMSUB213SS VFNMSUB213SD VFNMSUB123SS
659syn keyword nasmInstructionINTEL_FMA VFNMSUB123SD VFNMSUB231SS VFNMSUB231SD VFNMSUB321SS VFNMSUB321SD
660" INTEL_POST32
661syn keyword nasmInstructionINTEL_POST32 RDFSBASE RDGSBASE RDRAND WRFSBASE WRGSBASE
662syn keyword nasmInstructionINTEL_POST32 VCVTPH2PS VCVTPS2PH ADCX ADOX RDSEED
663" SUPERVISOR
664syn keyword nasmInstructionSUPERVISOR CLAC STAC
665" VIA_SECURITY
666syn keyword nasmInstructionVIA_SECURITY XSTORE XCRYPTECB XCRYPTCBC XCRYPTCTR XCRYPTCFB
667syn keyword nasmInstructionVIA_SECURITY XCRYPTOFB MONTMUL XSHA1 XSHA256
668" AMD_PROFILING
669syn keyword nasmInstructionAMD_PROFILING LLWPCB SLWPCB LWPVAL LWPINS
670" XOP_FMA4
671syn keyword nasmInstructionXOP_FMA4 VFMADDPD VFMADDPS VFMADDSD VFMADDSS VFMADDSUBPD
672syn keyword nasmInstructionXOP_FMA4 VFMADDSUBPS VFMSUBADDPD VFMSUBADDPS VFMSUBPD VFMSUBPS
673syn keyword nasmInstructionXOP_FMA4 VFMSUBSD VFMSUBSS VFNMADDPD VFNMADDPS VFNMADDSD
674syn keyword nasmInstructionXOP_FMA4 VFNMADDSS VFNMSUBPD VFNMSUBPS VFNMSUBSD VFNMSUBSS
675syn keyword nasmInstructionXOP_FMA4 VFRCZPD VFRCZPS VFRCZSD VFRCZSS VPCMOV
676syn keyword nasmInstructionXOP_FMA4 VPCOMB VPCOMD VPCOMQ VPCOMUB VPCOMUD
677syn keyword nasmInstructionXOP_FMA4 VPCOMUQ VPCOMUW VPCOMW VPHADDBD VPHADDBQ
678syn keyword nasmInstructionXOP_FMA4 VPHADDBW VPHADDDQ VPHADDUBD VPHADDUBQ VPHADDUBW
679syn keyword nasmInstructionXOP_FMA4 VPHADDUDQ VPHADDUWD VPHADDUWQ VPHADDWD VPHADDWQ
680syn keyword nasmInstructionXOP_FMA4 VPHSUBBW VPHSUBDQ VPHSUBWD VPMACSDD VPMACSDQH
681syn keyword nasmInstructionXOP_FMA4 VPMACSDQL VPMACSSDD VPMACSSDQH VPMACSSDQL VPMACSSWD
682syn keyword nasmInstructionXOP_FMA4 VPMACSSWW VPMACSWD VPMACSWW VPMADCSSWD VPMADCSWD
683syn keyword nasmInstructionXOP_FMA4 VPPERM VPROTB VPROTD VPROTQ VPROTW
684syn keyword nasmInstructionXOP_FMA4 VPSHAB VPSHAD VPSHAQ VPSHAW VPSHLB
685syn keyword nasmInstructionXOP_FMA4 VPSHLD VPSHLQ VPSHLW
686" AVX2
687syn keyword nasmInstructionAVX2 VMPSADBW VPABSB VPABSW VPABSD VPACKSSWB
688syn keyword nasmInstructionAVX2 VPACKSSDW VPACKUSDW VPACKUSWB VPADDB VPADDW
689syn keyword nasmInstructionAVX2 VPADDD VPADDQ VPADDSB VPADDSW VPADDUSB
690syn keyword nasmInstructionAVX2 VPADDUSW VPALIGNR VPAND VPANDN VPAVGB
691syn keyword nasmInstructionAVX2 VPAVGW VPBLENDVB VPBLENDW VPCMPEQB VPCMPEQW
692syn keyword nasmInstructionAVX2 VPCMPEQD VPCMPEQQ VPCMPGTB VPCMPGTW VPCMPGTD
693syn keyword nasmInstructionAVX2 VPCMPGTQ VPHADDW VPHADDD VPHADDSW VPHSUBW
694syn keyword nasmInstructionAVX2 VPHSUBD VPHSUBSW VPMADDUBSW VPMADDWD VPMAXSB
695syn keyword nasmInstructionAVX2 VPMAXSW VPMAXSD VPMAXUB VPMAXUW VPMAXUD
696syn keyword nasmInstructionAVX2 VPMINSB VPMINSW VPMINSD VPMINUB VPMINUW
697syn keyword nasmInstructionAVX2 VPMINUD VPMOVMSKB VPMOVSXBW VPMOVSXBD VPMOVSXBQ
698syn keyword nasmInstructionAVX2 VPMOVSXWD VPMOVSXWQ VPMOVSXDQ VPMOVZXBW VPMOVZXBD
699syn keyword nasmInstructionAVX2 VPMOVZXBQ VPMOVZXWD VPMOVZXWQ VPMOVZXDQ VPMULDQ
700syn keyword nasmInstructionAVX2 VPMULHRSW VPMULHUW VPMULHW VPMULLW VPMULLD
701syn keyword nasmInstructionAVX2 VPMULUDQ VPOR VPSADBW VPSHUFB VPSHUFD
702syn keyword nasmInstructionAVX2 VPSHUFHW VPSHUFLW VPSIGNB VPSIGNW VPSIGND
703syn keyword nasmInstructionAVX2 VPSLLDQ VPSLLW VPSLLD VPSLLQ VPSRAW
704syn keyword nasmInstructionAVX2 VPSRAD VPSRLDQ VPSRLW VPSRLD VPSRLQ
705syn keyword nasmInstructionAVX2 VPSUBB VPSUBW VPSUBD VPSUBQ VPSUBSB
706syn keyword nasmInstructionAVX2 VPSUBSW VPSUBUSB VPSUBUSW VPUNPCKHBW VPUNPCKHWD
707syn keyword nasmInstructionAVX2 VPUNPCKHDQ VPUNPCKHQDQ VPUNPCKLBW VPUNPCKLWD VPUNPCKLDQ
708syn keyword nasmInstructionAVX2 VPUNPCKLQDQ VPXOR VMOVNTDQA VBROADCASTSS VBROADCASTSD
709syn keyword nasmInstructionAVX2 VBROADCASTI128 VPBLENDD VPBROADCASTB VPBROADCASTW VPBROADCASTD
710syn keyword nasmInstructionAVX2 VPBROADCASTQ VPERMD VPERMPD VPERMPS VPERMQ
711syn keyword nasmInstructionAVX2 VPERM2I128 VEXTRACTI128 VINSERTI128 VPMASKMOVD VPMASKMOVQ
712syn keyword nasmInstructionAVX2 VPMASKMOVD VPMASKMOVQ VPSLLVD VPSLLVQ VPSLLVD
713syn keyword nasmInstructionAVX2 VPSLLVQ VPSRAVD VPSRLVD VPSRLVQ VPSRLVD
714syn keyword nasmInstructionAVX2 VPSRLVQ VGATHERDPD VGATHERQPD VGATHERDPD VGATHERQPD
715syn keyword nasmInstructionAVX2 VGATHERDPS VGATHERQPS VGATHERDPS VGATHERQPS VPGATHERDD
716syn keyword nasmInstructionAVX2 VPGATHERQD VPGATHERDD VPGATHERQD VPGATHERDQ VPGATHERQQ
717syn keyword nasmInstructionAVX2 VPGATHERDQ VPGATHERQQ
718" TRANSACTIONS
719syn keyword nasmInstructionTRANSACTIONS XABORT XBEGIN XEND XTEST
720" BMI_ABM
721syn keyword nasmInstructionBMI_ABM ANDN BEXTR BLCI BLCIC BLSI
722syn keyword nasmInstructionBMI_ABM BLSIC BLCFILL BLSFILL BLCMSK BLSMSK
723syn keyword nasmInstructionBMI_ABM BLSR BLCS BZHI MULX PDEP
724syn keyword nasmInstructionBMI_ABM PEXT RORX SARX SHLX SHRX
725syn keyword nasmInstructionBMI_ABM TZCNT TZMSK T1MSKC PREFETCHWT1
726" MPE
727syn keyword nasmInstructionMPE BNDMK BNDCL BNDCU BNDCN BNDMOV
728syn keyword nasmInstructionMPE BNDLDX BNDSTX
729" SHA
730syn keyword nasmInstructionSHA SHA1MSG1 SHA1MSG2 SHA1NEXTE SHA1RNDS4 SHA256MSG1
731syn keyword nasmInstructionSHA SHA256MSG2 SHA256RNDS2 VSHA512MSG1 VSHA512MSG2 VSHA512RNDS2
732" SM3
733syn keyword nasmInstructionSM3 VSM3MSG1 VSM3MSG2 VSM3RNDS2
734" SM4
735syn keyword nasmInstructionSM4 VSM4KEY4 VSM4RNDS4
736" AVX_NOEXCEPT
737syn keyword nasmInstructionAVX_NOEXCEPT VBCSTNEBF16PS VBCSTNESH2PS VCVTNEEBF162PS VCVTNEEPH2PS VCVTNEOBF162PS
738syn keyword nasmInstructionAVX_NOEXCEPT VCVTNEOPH2PS VCVTNEPS2BF16
739" AVX_VECTOR_NN
740syn keyword nasmInstructionAVX_VECTOR_NN VPDPBSSD VPDPBSSDS VPDPBSUD VPDPBSUDS VPDPBUUD
741syn keyword nasmInstructionAVX_VECTOR_NN VPDPBUUDS
742" AVX_IFMA
743syn keyword nasmInstructionAVX_IFMA VPMADD52HUQ VPMADD52LUQ
744" AVX512_MASK
745syn keyword nasmInstructionAVX512_MASK KADDB KADDD KADDQ KADDW KANDB
746syn keyword nasmInstructionAVX512_MASK KANDD KANDNB KANDND KANDNQ KANDNW
747syn keyword nasmInstructionAVX512_MASK KANDQ KANDW KMOVB KMOVD KMOVQ
748syn keyword nasmInstructionAVX512_MASK KMOVW KNOTB KNOTD KNOTQ KNOTW
749syn keyword nasmInstructionAVX512_MASK KORB KORD KORQ KORW KORTESTB
750syn keyword nasmInstructionAVX512_MASK KORTESTD KORTESTQ KORTESTW KSHIFTLB KSHIFTLD
751syn keyword nasmInstructionAVX512_MASK KSHIFTLQ KSHIFTLW KSHIFTRB KSHIFTRD KSHIFTRQ
752syn keyword nasmInstructionAVX512_MASK KSHIFTRW KTESTB KTESTD KTESTQ KTESTW
753syn keyword nasmInstructionAVX512_MASK KUNPCKBW KUNPCKDQ KUNPCKWD KXNORB KXNORD
754syn keyword nasmInstructionAVX512_MASK KXNORQ KXNORW KXORB KXORD KXORQ
755syn keyword nasmInstructionAVX512_MASK KXORW
756" AVX512_MASK_REG
757syn keyword nasmInstructionAVX512_MASK_REG KADD KAND KANDN KAND KMOV
758syn keyword nasmInstructionAVX512_MASK_REG KNOT KOR KORTEST KSHIFTL KSHIFTR
759syn keyword nasmInstructionAVX512_MASK_REG KTEST KUNPCK KXNOR KXOR
760" AVX512
761syn keyword nasmInstructionAVX512 VADDPD VADDPS VADDSD VADDSS VALIGND
762syn keyword nasmInstructionAVX512 VALIGNQ VANDNPD VANDNPS VANDPD VANDPS
763syn keyword nasmInstructionAVX512 VBLENDMPD VBLENDMPS VBROADCASTF32X2 VBROADCASTF32X4 VBROADCASTF32X8
764syn keyword nasmInstructionAVX512 VBROADCASTF64X2 VBROADCASTF64X4 VBROADCASTI32X2 VBROADCASTI32X4 VBROADCASTI32X8
765syn keyword nasmInstructionAVX512 VBROADCASTI64X2 VBROADCASTI64X4 VBROADCASTSD VBROADCASTSS VCMPEQPD
766syn keyword nasmInstructionAVX512 VCMPEQPS VCMPEQSD VCMPEQSS VCMPEQ_OQPD VCMPEQ_OQPS
767syn keyword nasmInstructionAVX512 VCMPEQ_OQSD VCMPEQ_OQSS VCMPLTPD VCMPLTPS VCMPLTSD
768syn keyword nasmInstructionAVX512 VCMPLTSS VCMPLT_OSPD VCMPLT_OSPS VCMPLT_OSSD VCMPLT_OSSS
769syn keyword nasmInstructionAVX512 VCMPLEPD VCMPLEPS VCMPLESD VCMPLESS VCMPLE_OSPD
770syn keyword nasmInstructionAVX512 VCMPLE_OSPS VCMPLE_OSSD VCMPLE_OSSS VCMPUNORDPD VCMPUNORDPS
771syn keyword nasmInstructionAVX512 VCMPUNORDSD VCMPUNORDSS VCMPUNORD_QPD VCMPUNORD_QPS VCMPUNORD_QSD
772syn keyword nasmInstructionAVX512 VCMPUNORD_QSS VCMPNEQPD VCMPNEQPS VCMPNEQSD VCMPNEQSS
773syn keyword nasmInstructionAVX512 VCMPNEQ_UQPD VCMPNEQ_UQPS VCMPNEQ_UQSD VCMPNEQ_UQSS VCMPNLTPD
774syn keyword nasmInstructionAVX512 VCMPNLTPS VCMPNLTSD VCMPNLTSS VCMPNLT_USPD VCMPNLT_USPS
775syn keyword nasmInstructionAVX512 VCMPNLT_USSD VCMPNLT_USSS VCMPNLEPD VCMPNLEPS VCMPNLESD
776syn keyword nasmInstructionAVX512 VCMPNLESS VCMPNLE_USPD VCMPNLE_USPS VCMPNLE_USSD VCMPNLE_USSS
777syn keyword nasmInstructionAVX512 VCMPORDPD VCMPORDPS VCMPORDSD VCMPORDSS VCMPORD_QPD
778syn keyword nasmInstructionAVX512 VCMPORD_QPS VCMPORD_QSD VCMPORD_QSS VCMPEQ_UQPD VCMPEQ_UQPS
779syn keyword nasmInstructionAVX512 VCMPEQ_UQSD VCMPEQ_UQSS VCMPNGEPD VCMPNGEPS VCMPNGESD
780syn keyword nasmInstructionAVX512 VCMPNGESS VCMPNGE_USPD VCMPNGE_USPS VCMPNGE_USSD VCMPNGE_USSS
781syn keyword nasmInstructionAVX512 VCMPNGTPD VCMPNGTPS VCMPNGTSD VCMPNGTSS VCMPNGT_USPD
782syn keyword nasmInstructionAVX512 VCMPNGT_USPS VCMPNGT_USSD VCMPNGT_USSS VCMPFALSEPD VCMPFALSEPS
783syn keyword nasmInstructionAVX512 VCMPFALSESD VCMPFALSESS VCMPFALSE_OQPD VCMPFALSE_OQPS VCMPFALSE_OQSD
784syn keyword nasmInstructionAVX512 VCMPFALSE_OQSS VCMPNEQ_OQPD VCMPNEQ_OQPS VCMPNEQ_OQSD VCMPNEQ_OQSS
785syn keyword nasmInstructionAVX512 VCMPGEPD VCMPGEPS VCMPGESD VCMPGESS VCMPGE_OSPD
786syn keyword nasmInstructionAVX512 VCMPGE_OSPS VCMPGE_OSSD VCMPGE_OSSS VCMPGTPD VCMPGTPS
787syn keyword nasmInstructionAVX512 VCMPGTSD VCMPGTSS VCMPGT_OSPD VCMPGT_OSPS VCMPGT_OSSD
788syn keyword nasmInstructionAVX512 VCMPGT_OSSS VCMPTRUEPD VCMPTRUEPS VCMPTRUESD VCMPTRUESS
789syn keyword nasmInstructionAVX512 VCMPTRUE_UQPD VCMPTRUE_UQPS VCMPTRUE_UQSD VCMPTRUE_UQSS VCMPEQ_OSPD
790syn keyword nasmInstructionAVX512 VCMPEQ_OSPS VCMPEQ_OSSD VCMPEQ_OSSS VCMPLT_OQPD VCMPLT_OQPS
791syn keyword nasmInstructionAVX512 VCMPLT_OQSD VCMPLT_OQSS VCMPLE_OQPD VCMPLE_OQPS VCMPLE_OQSD
792syn keyword nasmInstructionAVX512 VCMPLE_OQSS VCMPUNORD_SPD VCMPUNORD_SPS VCMPUNORD_SSD VCMPUNORD_SSS
793syn keyword nasmInstructionAVX512 VCMPNEQ_USPD VCMPNEQ_USPS VCMPNEQ_USSD VCMPNEQ_USSS VCMPNLT_UQPD
794syn keyword nasmInstructionAVX512 VCMPNLT_UQPS VCMPNLT_UQSD VCMPNLT_UQSS VCMPNLE_UQPD VCMPNLE_UQPS
795syn keyword nasmInstructionAVX512 VCMPNLE_UQSD VCMPNLE_UQSS VCMPORD_SPD VCMPORD_SPS VCMPORD_SSD
796syn keyword nasmInstructionAVX512 VCMPORD_SSS VCMPEQ_USPD VCMPEQ_USPS VCMPEQ_USSD VCMPEQ_USSS
797syn keyword nasmInstructionAVX512 VCMPNGE_UQPD VCMPNGE_UQPS VCMPNGE_UQSD VCMPNGE_UQSS VCMPNGT_UQPD
798syn keyword nasmInstructionAVX512 VCMPNGT_UQPS VCMPNGT_UQSD VCMPNGT_UQSS VCMPFALSE_OSPD VCMPFALSE_OSPS
799syn keyword nasmInstructionAVX512 VCMPFALSE_OSSD VCMPFALSE_OSSS VCMPNEQ_OSPD VCMPNEQ_OSPS VCMPNEQ_OSSD
800syn keyword nasmInstructionAVX512 VCMPNEQ_OSSS VCMPGE_OQPD VCMPGE_OQPS VCMPGE_OQSD VCMPGE_OQSS
801syn keyword nasmInstructionAVX512 VCMPGT_OQPD VCMPGT_OQPS VCMPGT_OQSD VCMPGT_OQSS VCMPTRUE_USPD
802syn keyword nasmInstructionAVX512 VCMPTRUE_USPS VCMPTRUE_USSD VCMPTRUE_USSS VCMPPD VCMPPS
803syn keyword nasmInstructionAVX512 VCMPSD VCMPSS VCOMISD VCOMISS VCOMPRESSPD
804syn keyword nasmInstructionAVX512 VCOMPRESSPS VCVTDQ2PD VCVTDQ2PS VCVTPD2DQ VCVTPD2PS
805syn keyword nasmInstructionAVX512 VCVTPD2QQ VCVTPD2UDQ VCVTPD2UQQ VCVTPH2PS VCVTPS2DQ
806syn keyword nasmInstructionAVX512 VCVTPS2PD VCVTPS2PH VCVTPS2QQ VCVTPS2UDQ VCVTPS2UQQ
807syn keyword nasmInstructionAVX512 VCVTQQ2PD VCVTQQ2PS VCVTSD2SI VCVTSD2SS VCVTSD2USI
808syn keyword nasmInstructionAVX512 VCVTSI2SD VCVTSI2SS VCVTSS2SD VCVTSS2SI VCVTSS2USI
809syn keyword nasmInstructionAVX512 VCVTTPD2DQ VCVTTPD2QQ VCVTTPD2UDQ VCVTTPD2UQQ VCVTTPS2DQ
810syn keyword nasmInstructionAVX512 VCVTTPS2QQ VCVTTPS2UDQ VCVTTPS2UQQ VCVTTSD2SI VCVTTSD2USI
811syn keyword nasmInstructionAVX512 VCVTTSS2SI VCVTTSS2USI VCVTUDQ2PD VCVTUDQ2PS VCVTUQQ2PD
812syn keyword nasmInstructionAVX512 VCVTUQQ2PS VCVTUSI2SD VCVTUSI2SS VDBPSADBW VDIVPD
813syn keyword nasmInstructionAVX512 VDIVPS VDIVSD VDIVSS VEXP2PD VEXP2PS
814syn keyword nasmInstructionAVX512 VEXPANDPD VEXPANDPS VEXTRACTF32X4 VEXTRACTF32X8 VEXTRACTF64X2
815syn keyword nasmInstructionAVX512 VEXTRACTF64X4 VEXTRACTI32X4 VEXTRACTI32X8 VEXTRACTI64X2 VEXTRACTI64X4
816syn keyword nasmInstructionAVX512 VEXTRACTPS VFIXUPIMMPD VFIXUPIMMPS VFIXUPIMMSD VFIXUPIMMSS
817syn keyword nasmInstructionAVX512 VFMADD132PD VFMADD132PS VFMADD132SD VFMADD132SS VFMADD213PD
818syn keyword nasmInstructionAVX512 VFMADD213PS VFMADD213SD VFMADD213SS VFMADD231PD VFMADD231PS
819syn keyword nasmInstructionAVX512 VFMADD231SD VFMADD231SS VFMADDSUB132PD VFMADDSUB132PS VFMADDSUB213PD
820syn keyword nasmInstructionAVX512 VFMADDSUB213PS VFMADDSUB231PD VFMADDSUB231PS VFMSUB132PD VFMSUB132PS
821syn keyword nasmInstructionAVX512 VFMSUB132SD VFMSUB132SS VFMSUB213PD VFMSUB213PS VFMSUB213SD
822syn keyword nasmInstructionAVX512 VFMSUB213SS VFMSUB231PD VFMSUB231PS VFMSUB231SD VFMSUB231SS
823syn keyword nasmInstructionAVX512 VFMSUBADD132PD VFMSUBADD132PS VFMSUBADD213PD VFMSUBADD213PS VFMSUBADD231PD
824syn keyword nasmInstructionAVX512 VFMSUBADD231PS VFNMADD132PD VFNMADD132PS VFNMADD132SD VFNMADD132SS
825syn keyword nasmInstructionAVX512 VFNMADD213PD VFNMADD213PS VFNMADD213SD VFNMADD213SS VFNMADD231PD
826syn keyword nasmInstructionAVX512 VFNMADD231PS VFNMADD231SD VFNMADD231SS VFNMSUB132PD VFNMSUB132PS
827syn keyword nasmInstructionAVX512 VFNMSUB132SD VFNMSUB132SS VFNMSUB213PD VFNMSUB213PS VFNMSUB213SD
828syn keyword nasmInstructionAVX512 VFNMSUB213SS VFNMSUB231PD VFNMSUB231PS VFNMSUB231SD VFNMSUB231SS
829syn keyword nasmInstructionAVX512 VFPCLASSPD VFPCLASSPS VFPCLASSSD VFPCLASSSS VGATHERDPD
830syn keyword nasmInstructionAVX512 VGATHERDPS VGATHERPF0DPD VGATHERPF0DPS VGATHERPF0QPD VGATHERPF0QPS
831syn keyword nasmInstructionAVX512 VGATHERPF1DPD VGATHERPF1DPS VGATHERPF1QPD VGATHERPF1QPS VGATHERQPD
832syn keyword nasmInstructionAVX512 VGATHERQPS VGETEXPPD VGETEXPPS VGETEXPSD VGETEXPSS
833syn keyword nasmInstructionAVX512 VGETMANTPD VGETMANTPS VGETMANTSD VGETMANTSS VINSERTF32X4
834syn keyword nasmInstructionAVX512 VINSERTF32X8 VINSERTF64X2 VINSERTF64X4 VINSERTI32X4 VINSERTI32X8
835syn keyword nasmInstructionAVX512 VINSERTI64X2 VINSERTI64X4 VINSERTPS VMAXPD VMAXPS
836syn keyword nasmInstructionAVX512 VMAXSD VMAXSS VMINPD VMINPS VMINSD
837syn keyword nasmInstructionAVX512 VMINSS VMOVAPD VMOVAPS VMOVD VMOVDDUP
838syn keyword nasmInstructionAVX512 VMOVDQA32 VMOVDQA64 VMOVDQU16 VMOVDQU32 VMOVDQU64
839syn keyword nasmInstructionAVX512 VMOVDQU8 VMOVHLPS VMOVHPD VMOVHPS VMOVLHPS
840syn keyword nasmInstructionAVX512 VMOVLPD VMOVLPS VMOVNTDQ VMOVNTDQA VMOVNTPD
841syn keyword nasmInstructionAVX512 VMOVNTPS VMOVQ VMOVSD VMOVSHDUP VMOVSLDUP
842syn keyword nasmInstructionAVX512 VMOVSS VMOVUPD VMOVUPS VMULPD VMULPS
843syn keyword nasmInstructionAVX512 VMULSD VMULSS VORPD VORPS VPABSB
844syn keyword nasmInstructionAVX512 VPABSD VPABSQ VPABSW VPACKSSDW VPACKSSWB
845syn keyword nasmInstructionAVX512 VPACKUSDW VPACKUSWB VPADDB VPADDD VPADDQ
846syn keyword nasmInstructionAVX512 VPADDSB VPADDSW VPADDUSB VPADDUSW VPADDW
847syn keyword nasmInstructionAVX512 VPALIGNR VPANDD VPANDND VPANDNQ VPANDQ
848syn keyword nasmInstructionAVX512 VPAVGB VPAVGW VPBLENDMB VPBLENDMD VPBLENDMQ
849syn keyword nasmInstructionAVX512 VPBLENDMW VPBROADCASTB VPBROADCASTD VPBROADCASTMB2Q VPBROADCASTMW2D
850syn keyword nasmInstructionAVX512 VPBROADCASTQ VPBROADCASTW VPCMPEQB VPCMPEQD VPCMPEQQ
851syn keyword nasmInstructionAVX512 VPCMPEQW VPCMPGTB VPCMPGTD VPCMPGTQ VPCMPGTW
852syn keyword nasmInstructionAVX512 VPCMPEQB VPCMPEQD VPCMPEQQ VPCMPEQUB VPCMPEQUD
853syn keyword nasmInstructionAVX512 VPCMPEQUQ VPCMPEQUW VPCMPEQW VPCMPGEB VPCMPGED
854syn keyword nasmInstructionAVX512 VPCMPGEQ VPCMPGEUB VPCMPGEUD VPCMPGEUQ VPCMPGEUW
855syn keyword nasmInstructionAVX512 VPCMPGEW VPCMPGTB VPCMPGTD VPCMPGTQ VPCMPGTUB
856syn keyword nasmInstructionAVX512 VPCMPGTUD VPCMPGTUQ VPCMPGTUW VPCMPGTW VPCMPLEB
857syn keyword nasmInstructionAVX512 VPCMPLED VPCMPLEQ VPCMPLEUB VPCMPLEUD VPCMPLEUQ
858syn keyword nasmInstructionAVX512 VPCMPLEUW VPCMPLEW VPCMPLTB VPCMPLTD VPCMPLTQ
859syn keyword nasmInstructionAVX512 VPCMPLTUB VPCMPLTUD VPCMPLTUQ VPCMPLTUW VPCMPLTW
860syn keyword nasmInstructionAVX512 VPCMPNEQB VPCMPNEQD VPCMPNEQQ VPCMPNEQUB VPCMPNEQUD
861syn keyword nasmInstructionAVX512 VPCMPNEQUQ VPCMPNEQUW VPCMPNEQW VPCMPNGTB VPCMPNGTD
862syn keyword nasmInstructionAVX512 VPCMPNGTQ VPCMPNGTUB VPCMPNGTUD VPCMPNGTUQ VPCMPNGTUW
863syn keyword nasmInstructionAVX512 VPCMPNGTW VPCMPNLEB VPCMPNLED VPCMPNLEQ VPCMPNLEUB
864syn keyword nasmInstructionAVX512 VPCMPNLEUD VPCMPNLEUQ VPCMPNLEUW VPCMPNLEW VPCMPNLTB
865syn keyword nasmInstructionAVX512 VPCMPNLTD VPCMPNLTQ VPCMPNLTUB VPCMPNLTUD VPCMPNLTUQ
866syn keyword nasmInstructionAVX512 VPCMPNLTUW VPCMPNLTW VPCMPB VPCMPD VPCMPQ
867syn keyword nasmInstructionAVX512 VPCMPUB VPCMPUD VPCMPUQ VPCMPUW VPCMPW
868syn keyword nasmInstructionAVX512 VPCOMPRESSD VPCOMPRESSQ VPCONFLICTD VPCONFLICTQ VPERMB
869syn keyword nasmInstructionAVX512 VPERMD VPERMI2B VPERMI2D VPERMI2PD VPERMI2PS
870syn keyword nasmInstructionAVX512 VPERMI2Q VPERMI2W VPERMILPD VPERMILPS VPERMPD
871syn keyword nasmInstructionAVX512 VPERMPS VPERMQ VPERMT2B VPERMT2D VPERMT2PD
872syn keyword nasmInstructionAVX512 VPERMT2PS VPERMT2Q VPERMT2W VPERMW VPEXPANDD
873syn keyword nasmInstructionAVX512 VPEXPANDQ VPEXTRB VPEXTRD VPEXTRQ VPEXTRW
874syn keyword nasmInstructionAVX512 VPGATHERDD VPGATHERDQ VPGATHERQD VPGATHERQQ VPINSRB
875syn keyword nasmInstructionAVX512 VPINSRD VPINSRQ VPINSRW VPLZCNTD VPLZCNTQ
876syn keyword nasmInstructionAVX512 VPMADD52HUQ VPMADD52LUQ VPMADDUBSW VPMADDWD VPMAXSB
877syn keyword nasmInstructionAVX512 VPMAXSD VPMAXSQ VPMAXSW VPMAXUB VPMAXUD
878syn keyword nasmInstructionAVX512 VPMAXUQ VPMAXUW VPMINSB VPMINSD VPMINSQ
879syn keyword nasmInstructionAVX512 VPMINSW VPMINUB VPMINUD VPMINUQ VPMINUW
880syn keyword nasmInstructionAVX512 VPMOVB2M VPMOVD2M VPMOVDB VPMOVDW VPMOVM2B
881syn keyword nasmInstructionAVX512 VPMOVM2D VPMOVM2Q VPMOVM2W VPMOVQ2M VPMOVQB
882syn keyword nasmInstructionAVX512 VPMOVQD VPMOVQW VPMOVSDB VPMOVSDW VPMOVSQB
883syn keyword nasmInstructionAVX512 VPMOVSQD VPMOVSQW VPMOVSWB VPMOVSXBD VPMOVSXBQ
884syn keyword nasmInstructionAVX512 VPMOVSXBW VPMOVSXDQ VPMOVSXWD VPMOVSXWQ VPMOVUSDB
885syn keyword nasmInstructionAVX512 VPMOVUSDW VPMOVUSQB VPMOVUSQD VPMOVUSQW VPMOVUSWB
886syn keyword nasmInstructionAVX512 VPMOVW2M VPMOVWB VPMOVZXBD VPMOVZXBQ VPMOVZXBW
887syn keyword nasmInstructionAVX512 VPMOVZXDQ VPMOVZXWD VPMOVZXWQ VPMULDQ VPMULHRSW
888syn keyword nasmInstructionAVX512 VPMULHUW VPMULHW VPMULLD VPMULLQ VPMULLW
889syn keyword nasmInstructionAVX512 VPMULTISHIFTQB VPMULUDQ VPORD VPORQ VPROLD
890syn keyword nasmInstructionAVX512 VPROLQ VPROLVD VPROLVQ VPRORD VPRORQ
891syn keyword nasmInstructionAVX512 VPRORVD VPRORVQ VPSADBW VPSCATTERDD VPSCATTERDQ
892syn keyword nasmInstructionAVX512 VPSCATTERQD VPSCATTERQQ VPSHUFB VPSHUFD VPSHUFHW
893syn keyword nasmInstructionAVX512 VPSHUFLW VPSLLD VPSLLDQ VPSLLQ VPSLLVD
894syn keyword nasmInstructionAVX512 VPSLLVQ VPSLLVW VPSLLW VPSRAD VPSRAQ
895syn keyword nasmInstructionAVX512 VPSRAVD VPSRAVQ VPSRAVW VPSRAW VPSRLD
896syn keyword nasmInstructionAVX512 VPSRLDQ VPSRLQ VPSRLVD VPSRLVQ VPSRLVW
897syn keyword nasmInstructionAVX512 VPSRLW VPSUBB VPSUBD VPSUBQ VPSUBSB
898syn keyword nasmInstructionAVX512 VPSUBSW VPSUBUSB VPSUBUSW VPSUBW VPTERNLOGD
899syn keyword nasmInstructionAVX512 VPTERNLOGQ VPTESTMB VPTESTMD VPTESTMQ VPTESTMW
900syn keyword nasmInstructionAVX512 VPTESTNMB VPTESTNMD VPTESTNMQ VPTESTNMW VPUNPCKHBW
901syn keyword nasmInstructionAVX512 VPUNPCKHDQ VPUNPCKHQDQ VPUNPCKHWD VPUNPCKLBW VPUNPCKLDQ
902syn keyword nasmInstructionAVX512 VPUNPCKLQDQ VPUNPCKLWD VPXORD VPXORQ VRANGEPD
903syn keyword nasmInstructionAVX512 VRANGEPS VRANGESD VRANGESS VRCP14PD VRCP14PS
904syn keyword nasmInstructionAVX512 VRCP14SD VRCP14SS VRCP28PD VRCP28PS VRCP28SD
905syn keyword nasmInstructionAVX512 VRCP28SS VREDUCEPD VREDUCEPS VREDUCESD VREDUCESS
906syn keyword nasmInstructionAVX512 VRNDSCALEPD VRNDSCALEPS VRNDSCALESD VRNDSCALESS VRSQRT14PD
907syn keyword nasmInstructionAVX512 VRSQRT14PS VRSQRT14SD VRSQRT14SS VRSQRT28PD VRSQRT28PS
908syn keyword nasmInstructionAVX512 VRSQRT28SD VRSQRT28SS VSCALEFPD VSCALEFPS VSCALEFSD
909syn keyword nasmInstructionAVX512 VSCALEFSS VSCATTERDPD VSCATTERDPS VSCATTERPF0DPD VSCATTERPF0DPS
910syn keyword nasmInstructionAVX512 VSCATTERPF0QPD VSCATTERPF0QPS VSCATTERPF1DPD VSCATTERPF1DPS VSCATTERPF1QPD
911syn keyword nasmInstructionAVX512 VSCATTERPF1QPS VSCATTERQPD VSCATTERQPS VSHUFF32X4 VSHUFF64X2
912syn keyword nasmInstructionAVX512 VSHUFI32X4 VSHUFI64X2 VSHUFPD VSHUFPS VSQRTPD
913syn keyword nasmInstructionAVX512 VSQRTPS VSQRTSD VSQRTSS VSUBPD VSUBPS
914syn keyword nasmInstructionAVX512 VSUBSD VSUBSS VUCOMISD VUCOMISS VUNPCKHPD
915syn keyword nasmInstructionAVX512 VUNPCKHPS VUNPCKLPD VUNPCKLPS VXORPD VXORPS
916" PROTECTION
917syn keyword nasmInstructionPROTECTION RDPKRU WRPKRU
918" RDPID
919syn keyword nasmInstructionRDPID RDPID
920" NMEM
921syn keyword nasmInstructionNMEM CLFLUSHOPT CLWB PCOMMIT
922syn keyword nasmInstructionNMEM CLZERO
923" INTEL_EXTENSIONS
924syn keyword nasmInstructionINTEL_EXTENSIONS CLDEMOTE MOVDIRI MOVDIR64B PCONFIG TPAUSE
925syn keyword nasmInstructionINTEL_EXTENSIONS UMONITOR UMWAIT WBNOINVD
926" GALOISFIELD
927syn keyword nasmInstructionGALOISFIELD GF2P8AFFINEINVQB VGF2P8AFFINEINVQB GF2P8AFFINEQB VGF2P8AFFINEQB GF2P8MULB
928syn keyword nasmInstructionGALOISFIELD VGF2P8MULB
929" AVX512_BMI
930syn keyword nasmInstructionAVX512_BMI VPCOMPRESSB VPCOMPRESSW VPEXPANDB VPEXPANDW VPSHLDW
931syn keyword nasmInstructionAVX512_BMI VPSHLDD VPSHLDQ VPSHLDVW VPSHLDVD VPSHLDVQ
932syn keyword nasmInstructionAVX512_BMI VPSHRDW VPSHRDD VPSHRDQ VPSHRDVW VPSHRDVD
933syn keyword nasmInstructionAVX512_BMI VPSHRDVQ
934" AVX512_VNNI
935syn keyword nasmInstructionAVX512_VNNI VPDPBUSD VPDPBUSDS VPDPWSSD VPDPWSSDS
936" AVX512_BITALG
937syn keyword nasmInstructionAVX512_BITALG VPOPCNTB VPOPCNTW VPOPCNTD VPOPCNTQ VPSHUFBITQMB
938" AVX512_FMA
939syn keyword nasmInstructionAVX512_FMA V4FMADDPS V4FNMADDPS V4FMADDSS V4FNMADDSS
940" AVX512_DP
941syn keyword nasmInstructionAVX512_DP V4DPWSSDS V4DPWSSD
942" SGX
943syn keyword nasmInstructionSGX ENCLS ENCLU ENCLV
944" CET
945syn keyword nasmInstructionCET CLRSSBSY ENDBR32 ENDBR64 INCSSPD INCSSPQ
946syn keyword nasmInstructionCET RDSSPD RDSSPQ RSTORSSP SAVEPREVSSP SETSSBSY
947syn keyword nasmInstructionCET WRUSSD WRUSSQ WRSSD WRSSQ
948" INTEL_EXTENSION
949syn keyword nasmInstructionINTEL_EXTENSION ENQCMD ENQCMDS PCONFIG SERIALIZE WBNOINVD
950syn keyword nasmInstructionINTEL_EXTENSION XRESLDTRK XSUSLDTRK
951" AVX512_BF16
952syn keyword nasmInstructionAVX512_BF16 VCVTNE2PS2BF16 VCVTNEPS2BF16 VDPBF16PS
953" AVX512_MASK_INTERSECT
954syn keyword nasmInstructionAVX512_MASK_INTERSECT VP2INTERSECTD
955" AMX
956syn keyword nasmInstructionAMX LDTILECFG STTILECFG TDPBF16PS TDPBSSD TDPBSUD
957syn keyword nasmInstructionAMX TDPBUSD TDPBUUD TILELOADD TILELOADDT1 TILERELEASE
958syn keyword nasmInstructionAMX TILESTORED TILEZERO
959" AVX512_FP16
960syn keyword nasmInstructionAVX512_FP16 VADDPH VADDSH VCMPPH VCMPSH VCOMISH
961syn keyword nasmInstructionAVX512_FP16 VCVTDQ2PH VCVTPD2PH VCVTPH2DQ VCVTPH2PD VCVTPH2PS
962syn keyword nasmInstructionAVX512_FP16 VCVTPH2PSX VCVTPH2QQ VCVTPH2UDQ VCVTPH2UQQ VCVTPH2UW
963syn keyword nasmInstructionAVX512_FP16 VCVTPH2W VCVTPS2PH VCVTQQ2PH VCVTSD2SH VCVTSH2SD
964syn keyword nasmInstructionAVX512_FP16 VCVTSH2SI VCVTSH2SS VCVTSH2USI VCVTSI2SH VCVTSS2SH
965syn keyword nasmInstructionAVX512_FP16 VCVTTPH2DQ VCVTTPH2QQ VCVTTPH2UDQ VCVTTPH2UQQ VCVTTPH2UW
966syn keyword nasmInstructionAVX512_FP16 VCVTTPH2W VCVTTSH2SI VCVTTSH2USI VCVTUDQ2PH VCVTUQQ2PH
967syn keyword nasmInstructionAVX512_FP16 VCVTUSI2SH VCVTUSI2SS VCVTUW2PH VCVTW2PH VDIVPH
968syn keyword nasmInstructionAVX512_FP16 VDIVSH VFCMADDCPH VFMADDCPH VFCMADDCSH VFMADDCSH
969syn keyword nasmInstructionAVX512_FP16 VFCMULCPCH VFMULCPCH VFCMULCSH VFMULCSH VFMADDSUB132PH
970syn keyword nasmInstructionAVX512_FP16 VFMADDSUB213PH VFMADDSUB231PH VFMSUBADD132PH VFMSUBADD213PH VFMSUBADD231PH
971syn keyword nasmInstructionAVX512_FP16 VPMADD132PH VPMADD213PH VPMADD231PH VFMADD132PH VFMADD213PH
972syn keyword nasmInstructionAVX512_FP16 VFMADD231PH VPMADD132SH VPMADD213SH VPMADD231SH VPNMADD132SH
973syn keyword nasmInstructionAVX512_FP16 VPNMADD213SH VPNMADD231SH VPMSUB132PH VPMSUB213PH VPMSUB231PH
974syn keyword nasmInstructionAVX512_FP16 VFMSUB132PH VFMSUB213PH VFMSUB231PH VPMSUB132SH VPMSUB213SH
975syn keyword nasmInstructionAVX512_FP16 VPMSUB231SH VPNMSUB132SH VPNMSUB213SH VPNMSUB231SH VFPCLASSPH
976syn keyword nasmInstructionAVX512_FP16 VFPCLASSSH VGETEXPPH VGETEXPSH VGETMANTPH VGETMANTSH
977syn keyword nasmInstructionAVX512_FP16 VGETMAXPH VGETMAXSH VGETMINPH VGETMINSH VMOVSH
978syn keyword nasmInstructionAVX512_FP16 VMOVW VMULPH VMULSH VRCPPH VRCPSH
979syn keyword nasmInstructionAVX512_FP16 VREDUCEPH VREDUCESH VENDSCALEPH VENDSCALESH VRSQRTPH
980syn keyword nasmInstructionAVX512_FP16 VRSQRTSH VSCALEFPH VSCALEFSH VSQRTPH VSQRTSH
981syn keyword nasmInstructionAVX512_FP16 VSUBPH VSUBSH VUCOMISH
982" RAO-INT
983syn keyword nasmInstructionRAO_INT AADD AAND AXOR
984" USERINT
985syn keyword nasmInstructionUSERINT CLUI SENDUIPI STUI TESTUI UIRET
986" CMPCCXADD
987syn keyword nasmInstructionCMPCCXADD CMPOXADD CMPNOXADD CMPBXADD CMPNBXADD CMPZXADD
988syn keyword nasmInstructionCMPCCXADD CMPNZXADD CMPBEXADD CMPNBEXADD CMPSXADD CMPNSXADD
989syn keyword nasmInstructionCMPCCXADD CMPPXADD CMPNPXADD CMPLXADD CMPNLXADD CMPLEXADD
990syn keyword nasmInstructionCMPCCXADD CMPNLEXADD
991" FRET
992syn keyword nasmInstructionFRET ERETS ERETU LKGS
993" WRMSRNS_MSRLIST
994syn keyword nasmInstructionWRMSRNS_MSRLIST WRMSRNS RDMSRLIST WRMSRLIST
995" HRESET
996syn keyword nasmInstructionHRESET HRESET
997" PTWRITE
998syn keyword nasmInstructionPTWRITE PTWRITE
999" HINTNOP
1000syn keyword nasmInstructionHINTNOP HINT_NOP0 HINT_NOP1 HINT_NOP2 HINT_NOP3 HINT_NOP4
1001syn keyword nasmInstructionHINTNOP HINT_NOP5 HINT_NOP6 HINT_NOP7 HINT_NOP8 HINT_NOP9
1002syn keyword nasmInstructionHINTNOP HINT_NOP10 HINT_NOP11 HINT_NOP12 HINT_NOP13 HINT_NOP14
1003syn keyword nasmInstructionHINTNOP HINT_NOP15 HINT_NOP16 HINT_NOP17 HINT_NOP18 HINT_NOP19
1004syn keyword nasmInstructionHINTNOP HINT_NOP20 HINT_NOP21 HINT_NOP22 HINT_NOP23 HINT_NOP24
1005syn keyword nasmInstructionHINTNOP HINT_NOP25 HINT_NOP26 HINT_NOP27 HINT_NOP28 HINT_NOP29
1006syn keyword nasmInstructionHINTNOP HINT_NOP30 HINT_NOP31 HINT_NOP32 HINT_NOP33 HINT_NOP34
1007syn keyword nasmInstructionHINTNOP HINT_NOP35 HINT_NOP36 HINT_NOP37 HINT_NOP38 HINT_NOP39
1008syn keyword nasmInstructionHINTNOP HINT_NOP40 HINT_NOP41 HINT_NOP42 HINT_NOP43 HINT_NOP44
1009syn keyword nasmInstructionHINTNOP HINT_NOP45 HINT_NOP46 HINT_NOP47 HINT_NOP48 HINT_NOP49
1010syn keyword nasmInstructionHINTNOP HINT_NOP50 HINT_NOP51 HINT_NOP52 HINT_NOP53 HINT_NOP54
1011syn keyword nasmInstructionHINTNOP HINT_NOP55 HINT_NOP56 HINT_NOP57 HINT_NOP58 HINT_NOP59
1012syn keyword nasmInstructionHINTNOP HINT_NOP60 HINT_NOP61 HINT_NOP62 HINT_NOP63
1013"  Cyrix instructions (requires Cyrix processor)
1014syn keyword nasmCrxInstruction	PADDSIW PAVEB PDISTIB PMAGW PMULHRWC PMULHRIW
1015syn keyword nasmCrxInstruction	PMVGEZB PMVLZB PMVNZB PMVZB PSUBSIW
1016syn keyword nasmCrxInstruction	RDSHR RSDC RSLDT SMINT SMINTOLD SVDC SVLDT SVTS
1017syn keyword nasmCrxInstruction	WRSHR BB0_RESET BB1_RESET
1018syn keyword nasmCrxInstruction	CPU_WRITE CPU_READ DMINT RDM PMACHRIW
1019
1020" Debugging Instructions: (privileged)
1021syn keyword nasmDbgInstruction	INT1 INT3 RDMSR RDTSC RDPMC WRMSR INT01 INT03
1022
1023
1024" Synchronize Syntax:
1025syn sync clear
1026syn sync minlines=50		"for multiple region nesting
1027syn sync match  nasmSync	grouphere nasmMacroDef "^\s*%i\=macro\>"me=s-1
1028syn sync match	nasmSync	grouphere NONE	       "^\s*%endmacro\>"
1029
1030
1031" Define the default highlighting.
1032" Only when an item doesn't have highlighting yet
1033
1034" Sub Links:
1035hi def link nasmInMacDirective	nasmDirective
1036hi def link nasmInMacLabel		nasmLocalLabel
1037hi def link nasmInMacLblWarn	nasmLabelWarn
1038hi def link nasmInMacMacro		nasmMacro
1039hi def link nasmInMacParam		nasmMacro
1040hi def link nasmInMacParamNum	nasmDecNumber
1041hi def link nasmInMacPreCondit	nasmPreCondit
1042hi def link nasmInMacPreProc	nasmPreProc
1043hi def link nasmInPreCondit	nasmPreCondit
1044hi def link nasmInStructure	nasmStructure
1045hi def link nasmStructureLabel	nasmStructure
1046
1047" Comment Group:
1048hi def link nasmComment		Comment
1049hi def link nasmSpecialComment	SpecialComment
1050hi def link nasmInCommentTodo	Todo
1051
1052" Constant Group:
1053hi def link nasmString		String
1054hi def link nasmCString	String
1055hi def link nasmStringError	Error
1056hi def link nasmCStringEscape	SpecialChar
1057hi def link nasmCStringFormat	SpecialChar
1058hi def link nasmBinNumber		Number
1059hi def link nasmOctNumber		Number
1060hi def link nasmDecNumber		Number
1061hi def link nasmHexNumber		Number
1062hi def link nasmBinFloat		Float
1063hi def link nasmOctFloat		Float
1064hi def link nasmDecFloat		Float
1065hi def link nasmHexFloat		Float
1066hi def link nasmSpecFloat		Float
1067hi def link nasmBcdConst		Float
1068hi def link nasmNumberError	Error
1069
1070" Identifier Group:
1071hi def link nasmLabel		Identifier
1072hi def link nasmLocalLabel		Identifier
1073hi def link nasmSpecialLabel	Special
1074hi def link nasmLabelError		Error
1075hi def link nasmLabelWarn		Todo
1076
1077" PreProc Group:
1078hi def link nasmPreProc		PreProc
1079hi def link nasmDefine		Define
1080hi def link nasmInclude		Include
1081hi def link nasmMacro		Macro
1082hi def link nasmPreCondit		PreCondit
1083hi def link nasmPreProcError	Error
1084hi def link nasmPreProcWarn	Todo
1085
1086" Type Group:
1087hi def link nasmType		Type
1088hi def link nasmStorage		StorageClass
1089hi def link nasmStructure		Structure
1090hi def link nasmTypeError		Error
1091
1092" Directive Group:
1093hi def link nasmConstant		Constant
1094hi def link nasmInstrModifier	Operator
1095hi def link nasmRepeat		Repeat
1096hi def link nasmDirective		Keyword
1097hi def link nasmStdDirective	Operator
1098hi def link nasmFmtDirective	Keyword
1099
1100" Register Group:
1101hi def link nasmRegisterError	Error
1102hi def link nasmCtrlRegister	Special
1103hi def link nasmDebugRegister	Debug
1104hi def link nasmTestRegister	Special
1105hi def link nasmRegisterError	Error
1106hi def link nasmMemRefError	Error
1107
1108" Instruction Group:
1109hi def link nasmInstructnError	Error
1110hi def link nasmCrxInstruction	Special
1111hi def link nasmDbgInstruction	Debug
1112hi def link nasmInstructionStandard Statement
1113hi def link nasmInstructionSIMD Statement
1114hi def link nasmInstructionSSE Statement
1115hi def link nasmInstructionXSAVE Statement
1116hi def link nasmInstructionMEM Statement
1117hi def link nasmInstructionMMX Statement
1118hi def link nasmInstruction3DNOW Statement
1119hi def link nasmInstructionSSE2 Statement
1120hi def link nasmInstructionWMMX Statement
1121hi def link nasmInstructionWSSD Statement
1122hi def link nasmInstructionPRESSCOT Statement
1123hi def link nasmInstructionVMXSVM Statement
1124hi def link nasmInstructionPTVMX Statement
1125hi def link nasmInstructionSEVSNPAMD Statement
1126hi def link nasmInstructionTEJAS Statement
1127hi def link nasmInstructionAMD_SSE4A Statement
1128hi def link nasmInstructionBARCELONA Statement
1129hi def link nasmInstructionPENRY Statement
1130hi def link nasmInstructionNEHALEM Statement
1131hi def link nasmInstructionSMX Statement
1132hi def link nasmInstructionGEODE_3DNOW Statement
1133hi def link nasmInstructionINTEL_NEW Statement
1134hi def link nasmInstructionAES Statement
1135hi def link nasmInstructionAVX_AES Statement
1136hi def link nasmInstructionINTEL_PUB Statement
1137hi def link nasmInstructionAVX Statement
1138hi def link nasmInstructionINTEL_CMUL Statement
1139hi def link nasmInstructionINTEL_AVX_CMUL Statement
1140hi def link nasmInstructionINTEL_FMA Statement
1141hi def link nasmInstructionINTEL_POST32 Statement
1142hi def link nasmInstructionSUPERVISOR Statement
1143hi def link nasmInstructionVIA_SECURITY Statement
1144hi def link nasmInstructionAMD_PROFILING Statement
1145hi def link nasmInstructionXOP_FMA4 Statement
1146hi def link nasmInstructionAVX2 Statement
1147hi def link nasmInstructionTRANSACTIONS Statement
1148hi def link nasmInstructionBMI_ABM Statement
1149hi def link nasmInstructionMPE Statement
1150hi def link nasmInstructionSHA Statement
1151hi def link nasmInstructionSM3 Statement
1152hi def link nasmInstructionSM4 Statement
1153hi def link nasmInstructionAVX_NOEXCEPT Statement
1154hi def link nasmInstructionAVX_VECTOR_NN Statement
1155hi def link nasmInstructionAVX_IFMA Statement
1156hi def link nasmInstructionAVX512_MASK Statement
1157hi def link nasmInstructionAVX512_MASK_REG Statement
1158hi def link nasmInstructionAVX512 Statement
1159hi def link nasmInstructionPROTECTION Statement
1160hi def link nasmInstructionRDPID Statement
1161hi def link nasmInstructionNMEM Statement
1162hi def link nasmInstructionINTEL_EXTENSIONS Statement
1163hi def link nasmInstructionGALOISFIELD Statement
1164hi def link nasmInstructionAVX512_BMI Statement
1165hi def link nasmInstructionAVX512_VNNI Statement
1166hi def link nasmInstructionAVX512_BITALG Statement
1167hi def link nasmInstructionAVX512_FMA Statement
1168hi def link nasmInstructionAVX512_DP Statement
1169hi def link nasmInstructionSGX Statement
1170hi def link nasmInstructionCET Statement
1171hi def link nasmInstructionINTEL_EXTENSION Statement
1172hi def link nasmInstructionAVX512_BF16 Statement
1173hi def link nasmInstructionAVX512_MASK_INTERSECT Statement
1174hi def link nasmInstructionAMX Statement
1175hi def link nasmInstructionAVX512_FP16 Statement
1176hi def link nasmInstructionRAO_INT Statement
1177hi def link nasmInstructionUSERINT Statement
1178hi def link nasmInstructionCMPCCXADD Statement
1179hi def link nasmInstructionFRET Statement
1180hi def link nasmInstructionWRMSRNS_MSRLIST Statement
1181hi def link nasmInstructionHRESET Statement
1182hi def link nasmInstructionHINTNOP Statement
1183hi def link nasmInstructionPTWRITE Statement
1184
1185let b:current_syntax = "nasm"
1186
1187" vim:ts=8 sw=4