Multiply signed integer instead of left shift (#1382)
This commit is contained in:
parent
b57ddf8bc5
commit
2426038f31
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue