2009-06-29 07:58:10 +08:00
|
|
|
## --------------------------------------------------------------------------
|
|
|
|
##
|
|
|
|
## Copyright 1996-2009 The NASM Authors - All Rights Reserved
|
|
|
|
## 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-09-12 09:29:43 +08:00
|
|
|
#
|
|
|
|
# A * at the end indicates a condition; the list of conditions are
|
|
|
|
# on lines starting with *; the negatives are auto-generated
|
|
|
|
#
|
|
|
|
*
|
|
|
|
*ctx
|
|
|
|
*def
|
2008-02-17 09:01:40 +08:00
|
|
|
*empty
|
2007-09-12 09:29:43 +08:00
|
|
|
*id
|
|
|
|
*idn
|
|
|
|
*idni
|
|
|
|
*macro
|
|
|
|
*num
|
|
|
|
*str
|
2008-02-17 09:01:40 +08:00
|
|
|
*token
|
2007-09-12 09:29:43 +08:00
|
|
|
%arg
|
|
|
|
%assign
|
|
|
|
%clear
|
|
|
|
%define
|
2008-06-05 08:23:14 +08:00
|
|
|
%defstr
|
2009-07-14 14:04:12 +08:00
|
|
|
%deftok
|
2008-05-31 01:42:30 +08:00
|
|
|
%depend
|
2007-09-12 09:29:43 +08:00
|
|
|
%elif*
|
|
|
|
%else
|
|
|
|
%endif
|
|
|
|
%endm
|
|
|
|
%endmacro
|
|
|
|
%endrep
|
|
|
|
%error
|
2009-07-12 03:26:34 +08:00
|
|
|
%exitmacro
|
2007-09-12 09:29:43 +08:00
|
|
|
%exitrep
|
2008-09-24 15:21:58 +08:00
|
|
|
%fatal
|
2007-09-12 09:29:43 +08:00
|
|
|
%iassign
|
|
|
|
%idefine
|
2008-06-05 08:23:14 +08:00
|
|
|
%idefstr
|
2009-07-14 14:04:12 +08:00
|
|
|
%ideftok
|
2007-09-12 09:29:43 +08:00
|
|
|
%if*
|
|
|
|
%imacro
|
|
|
|
%include
|
|
|
|
%ixdefine
|
|
|
|
%line
|
|
|
|
%local
|
|
|
|
%macro
|
2008-05-31 01:42:30 +08:00
|
|
|
%pathsearch
|
2007-09-12 09:29:43 +08:00
|
|
|
%pop
|
|
|
|
%push
|
|
|
|
%rep
|
|
|
|
%repl
|
2009-07-12 03:26:34 +08:00
|
|
|
%rimacro
|
|
|
|
%rmacro
|
2007-09-12 09:29:43 +08:00
|
|
|
%rotate
|
|
|
|
%stacksize
|
2008-07-02 12:26:27 +08:00
|
|
|
%strcat
|
2007-09-12 09:29:43 +08:00
|
|
|
%strlen
|
|
|
|
%substr
|
|
|
|
%undef
|
2008-07-17 05:40:01 +08:00
|
|
|
%unimacro
|
|
|
|
%unmacro
|
2008-06-20 06:04:18 +08:00
|
|
|
%use
|
2008-06-11 09:27:38 +08:00
|
|
|
%warning
|
2007-09-12 09:29:43 +08:00
|
|
|
%xdefine
|