Skip to content

Commit

Permalink
x86: fix instruction 66f20f59ff reported by @Maijin
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Apr 2, 2015
1 parent 6a4d277 commit 9239967
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/X86/X86DisassemblerDecoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,8 @@ static int getID(struct InternalInstruction *insn)
}
} else {
if (insn->mode != MODE_16BIT && isPrefixAtLocation(insn, 0x66)) {
attrMask |= ATTR_OPSIZE;
if (insn->twoByteEscape != 0x0f)
attrMask |= ATTR_OPSIZE;
} else if (isPrefixAtLocation(insn, 0x67))
attrMask |= ATTR_ADSIZE;

Expand Down

0 comments on commit 9239967

Please sign in to comment.