diff options
-rw-r--r-- | target-arm/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c index 8e85435252..32c2c2e282 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -674,7 +674,7 @@ void do_interrupt_v7m(CPUARMState *env) /* ??? Should only do this if Configuration Control Register STACKALIGN bit is set. */ if (env->regs[13] & 4) { - env->regs[13] += 4; + env->regs[13] -= 4; xpsr |= 0x200; } /* Switch to the handler mode. */ |