2009-06-29 07:58:10 +08:00
|
|
|
## --------------------------------------------------------------------------
|
|
|
|
##
|
2016-05-10 03:05:56 +08:00
|
|
|
## Copyright 1996-2016 The NASM Authors - All Rights Reserved
|
2009-06-29 07:58:10 +08:00
|
|
|
## See the file AUTHORS included with the NASM distribution for
|
|
|
|
## the specific copyright holders.
|
|
|
|
##
|
|
|
|
## Redistribution and use in source and binary forms, with or without
|
|
|
|
## modification, are permitted provided that the following
|
|
|
|
## conditions are met:
|
|
|
|
##
|
|
|
|
## * Redistributions of source code must retain the above copyright
|
|
|
|
## notice, this list of conditions and the following disclaimer.
|
|
|
|
## * Redistributions in binary form must reproduce the above
|
|
|
|
## copyright notice, this list of conditions and the following
|
|
|
|
## disclaimer in the documentation and/or other materials provided
|
|
|
|
## with the distribution.
|
|
|
|
##
|
|
|
|
## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
|
|
|
## CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
|
|
|
## INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
|
|
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
## DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
|
|
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
|
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
|
|
## NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
|
|
## LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
## CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
|
|
|
## OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
|
|
|
## EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
##
|
|
|
|
## --------------------------------------------------------------------------
|
|
|
|
|
2007-08-31 05:47:46 +08:00
|
|
|
#
|
|
|
|
# Tokens other than instructions and registers
|
|
|
|
#
|
|
|
|
|
2013-08-06 11:46:18 +08:00
|
|
|
% TOKEN_PREFIX, 0, 0, P_*
|
2007-08-31 05:47:46 +08:00
|
|
|
a16
|
|
|
|
a32
|
2007-10-02 06:41:25 +08:00
|
|
|
a64
|
|
|
|
asp
|
2007-08-31 05:47:46 +08:00
|
|
|
lock
|
|
|
|
o16
|
|
|
|
o32
|
2007-10-02 06:41:25 +08:00
|
|
|
o64
|
|
|
|
osp
|
2007-08-31 05:47:46 +08:00
|
|
|
rep
|
|
|
|
repe
|
|
|
|
repne
|
|
|
|
repnz
|
|
|
|
repz
|
|
|
|
times
|
2009-02-22 10:22:56 +08:00
|
|
|
wait
|
2012-02-25 13:51:46 +08:00
|
|
|
xacquire
|
|
|
|
xrelease
|
2013-10-16 10:38:51 +08:00
|
|
|
bnd
|
2013-12-05 12:05:55 +08:00
|
|
|
nobnd
|
2007-08-31 05:47:46 +08:00
|
|
|
|
2013-08-06 11:46:18 +08:00
|
|
|
% TOKEN_SPECIAL, 0, 0, S_*
|
2007-08-31 05:47:46 +08:00
|
|
|
abs
|
|
|
|
byte
|
|
|
|
dword
|
|
|
|
far
|
|
|
|
long
|
|
|
|
near
|
|
|
|
nosplit
|
2007-09-19 04:01:32 +08:00
|
|
|
oword
|
2007-08-31 05:47:46 +08:00
|
|
|
qword
|
|
|
|
rel
|
|
|
|
short
|
|
|
|
strict
|
|
|
|
to
|
|
|
|
tword
|
|
|
|
word
|
2008-05-21 02:43:53 +08:00
|
|
|
yword
|
2013-08-22 10:29:11 +08:00
|
|
|
zword
|
2007-08-31 05:47:46 +08:00
|
|
|
|
2016-05-10 03:05:56 +08:00
|
|
|
% TOKEN_ID, 0, TFLAG_WARN, 0
|
|
|
|
ptr
|
|
|
|
|
2013-08-06 11:46:18 +08:00
|
|
|
% TOKEN_FLOAT, 0, 0, 0
|
2007-09-19 12:55:56 +08:00
|
|
|
__infinity__
|
|
|
|
__nan__
|
|
|
|
__qnan__
|
|
|
|
__snan__
|
|
|
|
|
2013-08-06 11:46:18 +08:00
|
|
|
% TOKEN_FLOATIZE, 0, 0, FLOAT_{__float*__}
|
2007-10-30 11:20:12 +08:00
|
|
|
__float8__
|
2007-09-25 03:30:54 +08:00
|
|
|
__float16__
|
|
|
|
__float32__
|
|
|
|
__float64__
|
|
|
|
__float80m__
|
|
|
|
__float80e__
|
|
|
|
__float128l__
|
|
|
|
__float128h__
|
|
|
|
|
2013-08-06 11:46:18 +08:00
|
|
|
% TOKEN_STRFUNC, 0, 0, STRFUNC_{__*__}
|
2008-06-15 07:53:48 +08:00
|
|
|
__utf16__
|
2012-02-26 07:29:37 +08:00
|
|
|
__utf16le__
|
|
|
|
__utf16be__
|
2008-06-15 07:53:48 +08:00
|
|
|
__utf32__
|
2012-02-26 07:29:37 +08:00
|
|
|
__utf32le__
|
|
|
|
__utf32be__
|
2008-06-15 07:53:48 +08:00
|
|
|
|
2013-08-06 11:46:18 +08:00
|
|
|
% TOKEN_IFUNC, 0, 0, IFUNC_{__*__}
|
2012-06-01 01:25:37 +08:00
|
|
|
__ilog2e__
|
|
|
|
__ilog2w__
|
|
|
|
__ilog2f__
|
|
|
|
__ilog2c__
|
|
|
|
|
2013-08-06 11:46:18 +08:00
|
|
|
% TOKEN_*, 0, 0, 0
|
2007-08-31 05:47:46 +08:00
|
|
|
seg
|
|
|
|
wrt
|
2013-08-06 11:46:18 +08:00
|
|
|
|
|
|
|
% TOKEN_DECORATOR, 0, TFLAG_BRC | TFLAG_BRDCAST , BRC_1TO{1to*}
|
2014-10-10 01:45:17 +08:00
|
|
|
1to2
|
|
|
|
1to4
|
2013-08-06 11:46:18 +08:00
|
|
|
1to8
|
|
|
|
1to16
|
|
|
|
|
|
|
|
% TOKEN_DECORATOR, 0, TFLAG_BRC, BRC_{*-sae}
|
|
|
|
rn-sae
|
|
|
|
rd-sae
|
|
|
|
ru-sae
|
|
|
|
rz-sae
|
|
|
|
|
|
|
|
% TOKEN_DECORATOR, 0, TFLAG_BRC, BRC_*
|
|
|
|
sae
|
|
|
|
z
|
2013-10-26 10:29:53 +08:00
|
|
|
|
|
|
|
% TOKEN_PREFIX, 0, TFLAG_BRC, P_*
|
|
|
|
evex
|
2013-11-29 04:11:24 +08:00
|
|
|
vex3
|
|
|
|
vex2
|