parser: simplify code by keeping a pointer to the current operand
[nasm/avx512.git] / tokens.dat
blobd12b296432add7d8ae9aa019dd4665a1565fcdde
1 ## --------------------------------------------------------------------------
2 ##
3 ## Copyright 1996-2012 The NASM Authors - All Rights Reserved
4 ## See the file AUTHORS included with the NASM distribution for
5 ## the specific copyright holders.
6 ##
7 ## Redistribution and use in source and binary forms, with or without
8 ## modification, are permitted provided that the following
9 ## conditions are met:
11 ## * Redistributions of source code must retain the above copyright
12 ## notice, this list of conditions and the following disclaimer.
13 ## * Redistributions in binary form must reproduce the above
14 ## copyright notice, this list of conditions and the following
15 ## disclaimer in the documentation and/or other materials provided
16 ## with the distribution.
17 ##
18 ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
19 ## CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
20 ## INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
21 ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22 ## DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
23 ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
25 ## NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
26 ## LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 ## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 ## CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29 ## OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30 ## EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 ## --------------------------------------------------------------------------
35 # Tokens other than instructions and registers
38 % TOKEN_PREFIX, 0, 0, P_*
39 a16
40 a32
41 a64
42 asp
43 lock
44 o16
45 o32
46 o64
47 osp
48 rep
49 repe
50 repne
51 repnz
52 repz
53 times
54 wait
55 xacquire
56 xrelease
58 % TOKEN_SPECIAL, 0, 0, S_*
59 abs
60 byte
61 dword
62 far
63 long
64 near
65 nosplit
66 oword
67 qword
68 rel
69 short
70 strict
72 tword
73 word
74 yword
75 zword
77 % TOKEN_FLOAT, 0, 0, 0
78 __infinity__
79 __nan__
80 __qnan__
81 __snan__
83 % TOKEN_FLOATIZE, 0, 0, FLOAT_{__float*__}
84 __float8__
85 __float16__
86 __float32__
87 __float64__
88 __float80m__
89 __float80e__
90 __float128l__
91 __float128h__
93 % TOKEN_STRFUNC, 0, 0, STRFUNC_{__*__}
94 __utf16__
95 __utf16le__
96 __utf16be__
97 __utf32__
98 __utf32le__
99 __utf32be__
101 % TOKEN_IFUNC, 0, 0, IFUNC_{__*__}
102 __ilog2e__
103 __ilog2w__
104 __ilog2f__
105 __ilog2c__
107 % TOKEN_*, 0, 0, 0
111 % TOKEN_DECORATOR, 0, TFLAG_BRC | TFLAG_BRDCAST , BRC_1TO{1to*}
112 1to8
113 1to16
115 % TOKEN_DECORATOR, 0, TFLAG_BRC, BRC_{*-sae}
116 rn-sae
117 rd-sae
118 ru-sae
119 rz-sae
121 % TOKEN_DECORATOR, 0, TFLAG_BRC, BRC_*