summaryrefslogtreecommitdiff
path: root/disasm.c
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 /disasm.c
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 'disasm.c')
-rw-r--r--disasm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/disasm.c b/disasm.c
index 711304c0..2d93ea64 100644
--- a/disasm.c
+++ b/disasm.c
@@ -1331,6 +1331,9 @@ int32_t disasm(uint8_t *data, char *output, int outbufsize, int segsize,
if (t & BITS128)
slen +=
snprintf(output + slen, outbufsize - slen, "oword ");
+ if (t & BITS256)
+ slen +=
+ snprintf(output + slen, outbufsize - slen, "yword ");
if (t & FAR)
slen += snprintf(output + slen, outbufsize - slen, "far ");
if (t & NEAR)