mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-02 04:24:22 +00:00
PR9030: Fix disassembly of ARM "mov pc, lr" instruction.
Patch by Jyun-Yan You. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124492 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -801,8 +801,8 @@ static bool DisassembleBrMiscFrm(MCInst &MI, unsigned Opcode, uint32_t insn,
|
||||
|
||||
OpIdx = 0;
|
||||
|
||||
// BX_RET has only two predicate operands, do an early return.
|
||||
if (Opcode == ARM::BX_RET)
|
||||
// BX_RET and MOVPCLR have only two predicate operands; do an early return.
|
||||
if (Opcode == ARM::BX_RET || Opcode == ARM::MOVPCLR)
|
||||
return true;
|
||||
|
||||
// BLXr9 and BX take one GPR reg.
|
||||
|
Reference in New Issue
Block a user