summaryrefslogtreecommitdiff
path: root/assemble.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-05-29 23:57:12 +0000
committerH. Peter Anvin <hpa@zytor.com>2007-05-29 23:57:12 +0000
commit5a640e11619ce553041b4ea595fd1d059c17b9fc (patch)
tree08af9f637cd1a9ff9fdac6585261d7259aeda85e /assemble.c
parent7a83374a9cc3f649187565431afa77c5d77d5508 (diff)
downloadnasm-5a640e11619ce553041b4ea595fd1d059c17b9fc.tar.gz
nasm-5a640e11619ce553041b4ea595fd1d059c17b9fc.tar.bz2
nasm-5a640e11619ce553041b4ea595fd1d059c17b9fc.zip
Clean up the existing operand flag definitions, and document
Diffstat (limited to 'assemble.c')
-rw-r--r--assemble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/assemble.c b/assemble.c
index e887d9a..4669ebd 100644
--- a/assemble.c
+++ b/assemble.c
@@ -1504,7 +1504,7 @@ static int matches(struct itemplate *itemp, insn * instruction, int bits)
if (itemp->opd[i] & ~instruction->oprs[i].type ||
((itemp->opd[i] & SIZE_MASK) &&
((itemp->opd[i] ^ instruction->oprs[i].type) & SIZE_MASK))) {
- if ((itemp->opd[i] & ~instruction->oprs[i].type & NON_SIZE) ||
+ if ((itemp->opd[i] & ~instruction->oprs[i].type & ~SIZE_MASK) ||
(instruction->oprs[i].type & SIZE_MASK))
return 0;
else