diff --git a/arch/TMS320C64x/TMS320C64xDisassembler.c b/arch/TMS320C64x/TMS320C64xDisassembler.c index 6f4f2a882a..34c3ef90b2 100644 --- a/arch/TMS320C64x/TMS320C64xDisassembler.c +++ b/arch/TMS320C64x/TMS320C64xDisassembler.c @@ -244,7 +244,7 @@ static DecodeStatus DecodePCRelScst21(MCInst *Inst, unsigned Val, imm |= ~((1 << 21) - 1); /* Address is relative to the address of the first instruction in the fetch packet */ - MCOperand_CreateImm0(Inst, (Address & ~31) + (imm << 2)); + MCOperand_CreateImm0(Inst, (Address & ~31) + (imm * 4)); return MCDisassembler_Success; }