summaryrefslogtreecommitdiff
path: root/nasm.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-10-04 19:02:30 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-10-04 19:02:30 -0700
commit833caeab28e5dfaba7d7a095d35b6326add4a601 (patch)
tree91d9fb7ba39f1caf722d3aff7bedaca07791f628 /nasm.h
parent6c80ab6f7f3a5d18076f9b2edbce89d8f80247cd (diff)
downloadnasm-833caeab28e5dfaba7d7a095d35b6326add4a601.tar.gz
assemble.c: be smarter about when to suppress warnings due to SBYTE
Be smarter and don't suppress warnings due to SBYTE when the SBYTE didn't actually match. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'nasm.h')
-rw-r--r--nasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nasm.h b/nasm.h
index c34d7f02..d97e5f1d 100644
--- a/nasm.h
+++ b/nasm.h
@@ -572,6 +572,7 @@ typedef uint32_t opflags_t;
#define SBYTE16 0x00022000U /* for op r16,immediate instrs. */
#define SBYTE32 0x00042000U /* for op r32,immediate instrs. */
#define SBYTE64 0x00082000U /* for op r64,immediate instrs. */
+#define BYTENESS 0x000e0000U /* for testing for byteness */
/* special flags */
#define SAME_AS 0x40000000U