arm: fix printPKHASRShiftImm() - issue #1456

This commit is contained in:
Nguyen Anh Quynh 2019-04-17 00:48:12 +08:00
parent 594dc03687
commit 6db57054f0

View File

@ -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)