mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-17 12:58:06 +00:00
arm: fix printPKHASRShiftImm() - issue #1456
This commit is contained in:
parent
594dc03687
commit
6db57054f0
@ -1591,7 +1591,7 @@ static void printPKHASRShiftImm(MCInst *MI, unsigned OpNum, SStream *O)
|
||||
|
||||
// A shift amount of 32 is encoded as 0.
|
||||
if (Imm == 0)
|
||||
return;
|
||||
Imm = 32;
|
||||
|
||||
//assert(Imm > 0 && Imm <= 32 && "Invalid PKH shift immediate value!");
|
||||
if (Imm > HEX_THRESHOLD)
|
||||
|
Loading…
x
Reference in New Issue
Block a user