summaryrefslogtreecommitdiff
path: root/insns.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-04-30 20:57:59 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-04-30 20:57:59 +0000
commitef7468f4ec05f23e8d866493593d7c1f07df5e03 (patch)
treece3d68c654cf05d24ff2c0a6b3b4fcccca13719b /insns.h
parent620515ab4e66b45f9440cf04a1fa61869275170f (diff)
downloadnasm-ef7468f4ec05f23e8d866493593d7c1f07df5e03.tar.gz
nasm-ef7468f4ec05f23e8d866493593d7c1f07df5e03.tar.bz2
nasm-ef7468f4ec05f23e8d866493593d7c1f07df5e03.zip
NASM 0.98p7
Diffstat (limited to 'insns.h')
-rw-r--r--insns.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/insns.h b/insns.h
index f12ea60..af911ee 100644
--- a/insns.h
+++ b/insns.h
@@ -1,4 +1,5 @@
/* insns.h header file for insns.c
+ * $Id$
*
* The Netwide Assembler is copyright (C) 1996 Simon Tatham and
* Julian Hall. All rights reserved. The software is
@@ -49,6 +50,10 @@ struct itemplate {
#define IF_SB 0x00000004UL /* unsized operands can't be non-byte */
#define IF_SW 0x00000008UL /* unsized operands can't be non-word */
#define IF_SD 0x00000010UL /* unsized operands can't be nondword */
+#define IF_AR0 0x00000020UL /* SB, SW, SD applies to argument 0 */
+#define IF_AR1 0x00000040UL /* SB, SW, SD applies to argument 1 */
+#define IF_AR2 0x00000060UL /* SB, SW, SD applies to argument 2 */
+#define IF_ARMASK 0x00000060UL /* mask for unsized argument spec */
#define IF_PRIV 0x00000100UL /* it's a privileged instruction */
#define IF_SMM 0x00000200UL /* it's only valid in SMM */
#define IF_PROT 0x00000400UL /* it's protected mode only */