aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mep-asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/mep-asm.c')
-rw-r--r--opcodes/mep-asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/mep-asm.c b/opcodes/mep-asm.c
index 1603872..4f92cbd 100644
--- a/opcodes/mep-asm.c
+++ b/opcodes/mep-asm.c
@@ -489,7 +489,7 @@ parse_cdisp10 (CGEN_CPU_DESC cd,
break;
}
- if (MEP_CPU == EF_MEP_CPU_C5)
+ if ((MEP_CPU & EF_MEP_CPU_MASK) == EF_MEP_CPU_C5)
wide = 1;
if (strncmp (*strp, "0x0", 3) == 0