disp8: Consolidate a logic to get compressed displacement
[nasm.git] / tokens.dat
blob284cf30acc8346984179aa414deb316f0f722d74
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
57 bnd
59 % TOKEN_SPECIAL, 0, 0, S_*
60 abs
61 byte
62 dword
63 far
64 long
65 near
66 nosplit
67 oword
68 qword
69 rel
70 short
71 strict
73 tword
74 word
75 yword
76 zword
78 % TOKEN_FLOAT, 0, 0, 0
79 __infinity__
80 __nan__
81 __qnan__
82 __snan__
84 % TOKEN_FLOATIZE, 0, 0, FLOAT_{__float*__}
85 __float8__
86 __float16__
87 __float32__
88 __float64__
89 __float80m__
90 __float80e__
91 __float128l__
92 __float128h__
94 % TOKEN_STRFUNC, 0, 0, STRFUNC_{__*__}
95 __utf16__
96 __utf16le__
97 __utf16be__
98 __utf32__
99 __utf32le__
100 __utf32be__
102 % TOKEN_IFUNC, 0, 0, IFUNC_{__*__}
103 __ilog2e__
104 __ilog2w__
105 __ilog2f__
106 __ilog2c__
108 % TOKEN_*, 0, 0, 0
112 % TOKEN_DECORATOR, 0, TFLAG_BRC | TFLAG_BRDCAST , BRC_1TO{1to*}
113 1to8
114 1to16
116 % TOKEN_DECORATOR, 0, TFLAG_BRC, BRC_{*-sae}
117 rn-sae
118 rd-sae
119 ru-sae
120 rz-sae
122 % TOKEN_DECORATOR, 0, TFLAG_BRC, BRC_*
126 % TOKEN_PREFIX, 0, TFLAG_BRC, P_*
127 evex