summaryrefslogtreecommitdiff
path: root/insns.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-05-20 11:43:53 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-05-20 11:43:53 -0700
commitdfb918047b32e57b5cf4840021ccc0c03b4685f9 (patch)
treea12908c96f5a537ad140df909b621e17df0b1d45 /insns.h
parent70a13f5a3701faa71bd2b28390dff622d71c62a6 (diff)
downloadnasm-dfb918047b32e57b5cf4840021ccc0c03b4685f9.tar.gz
Add DY, YWORD, and the SY instruction flag
Add the DY instruction, YWORD keyword, and an SY marker for instruction sizes. Add a few more AVX sample instructions.
Diffstat (limited to 'insns.h')
-rw-r--r--insns.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/insns.h b/insns.h
index 474e715c..4f954a53 100644
--- a/insns.h
+++ b/insns.h
@@ -75,7 +75,8 @@ extern const uint8_t nasm_bytecodes[];
#define IF_SD 0x0000000CUL /* unsized operands can't be non-dword */
#define IF_SQ 0x00000010UL /* unsized operands can't be non-qword */
#define IF_SO 0x00000014UL /* unsized operands can't be non-oword */
-#define IF_SZ 0x00000018UL /* unsized operands must match the bitsize */
+#define IF_SY 0x00000018UL /* unsized operands can't be non-yword */
+#define IF_SZ 0x0000001CUL /* unsized operands must match the bitsize */
#define IF_SMASK 0x0000001CUL /* mask for unsized argument size */
#define IF_AR0 0x00000020UL /* SB, SW, SD applies to argument 0 */
#define IF_AR1 0x00000040UL /* SB, SW, SD applies to argument 1 */