mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
X86 disassembler support for jcxz, jecxz, and jrcxz. Fixes PR11643. Patch by Kay Tiong Khoo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151510 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -763,6 +763,8 @@ static int getID(struct InternalInstruction* insn, void *miiArg) {
|
||||
else {
|
||||
if (isPrefixAtLocation(insn, 0x66, insn->necessaryPrefixLocation))
|
||||
attrMask |= ATTR_OPSIZE;
|
||||
else if (isPrefixAtLocation(insn, 0x67, insn->necessaryPrefixLocation))
|
||||
attrMask |= ATTR_ADSIZE;
|
||||
else if (isPrefixAtLocation(insn, 0xf3, insn->necessaryPrefixLocation))
|
||||
attrMask |= ATTR_XS;
|
||||
else if (isPrefixAtLocation(insn, 0xf2, insn->necessaryPrefixLocation))
|
||||
|
||||
Reference in New Issue
Block a user