aboutsummaryrefslogtreecommitdiff
path: root/opcodes/alpha-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/alpha-dis.c')
-rw-r--r--opcodes/alpha-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/alpha-dis.c b/opcodes/alpha-dis.c
index 630454d..49b5f20 100644
--- a/opcodes/alpha-dis.c
+++ b/opcodes/alpha-dis.c
@@ -118,7 +118,7 @@ print_insn_alpha (memaddr, info)
opcode_end = opcode_index[op + 1];
for (opcode = opcode_index[op]; opcode < opcode_end; ++opcode)
{
- if ((insn & opcode->mask) != opcode->opcode)
+ if ((insn ^ opcode->opcode) & opcode->mask)
continue;
if (!(opcode->flags & isa_mask))