Skip to content

Commit

Permalink
arm64: fix CS_OPT_UNSIGNED option on memory operand offset
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Feb 13, 2019
1 parent 5a6a714 commit cf04470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/AArch64/AArch64InstPrinter.c
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ static void printOperand(MCInst *MI, unsigned OpNo, SStream *O)
} else {
if (MI->csh->doing_mem) {
if (MI->csh->imm_unsigned) {
printInt64Bang(O, imm & 0xffff);
printUInt64Bang(O, imm);
} else {
printInt64Bang(O, imm);
}
Expand Down

0 comments on commit cf04470

Please sign in to comment.