ARM7: Fix typo that invoked undefined behavior
Jeffrey Pfau jeffrey@endrift.com
Sat, 16 Jan 2016 10:06:01 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/arm/decoder-arm.c
→
src/arm/decoder-arm.c
@@ -106,7 +106,7 @@ info->op2 = info->op3; \
info->operandFormat >>= 8; \ } else if (SKIPPED == 2) { \ info->op2 = info->op3; \ - info->operandFormat |= info->operandFormat >>= 8; \ + info->operandFormat |= info->operandFormat >> 8; \ info->operandFormat &= ~ARM_OPERAND_3; \ } \ if (info->op1.reg == ARM_PC) { \