summaryrefslogtreecommitdiff
path: root/assemble.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2009-10-18 12:41:14 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2009-10-18 12:41:14 +0400
commite4f526be5c305c278eab9bf322978a431fa97fe9 (patch)
tree500978b368bb6d7f94d113c8620f1f16cc185b84 /assemble.c
parent66ba8cdba1948e57048c0d7399c6f6d8d2c28ca0 (diff)
downloadnasm-e4f526be5c305c278eab9bf322978a431fa97fe9.tar.gz
continue using is_class helper
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
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 821f0190..ca2b9099 100644
--- a/assemble.c
+++ b/assemble.c
@@ -2557,7 +2557,7 @@ static void add_asp(insn *ins, int addrbits)
}
for (j = 0; j < ins->operands; j++) {
- if (!(MEMORY & ~ins->oprs[j].type)) {
+ if (is_class(MEMORY, ins->oprs[j].type)) {
opflags_t i, b;
/* Verify as Register */