Fix ADCS
Jeffrey Pfau jeffrey@endrift.com
Wed, 25 Sep 2013 00:27:40 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/arm/isa-arm.c
→
src/arm/isa-arm.c
@@ -569,7 +569,7 @@ DEFINE_ALU_INSTRUCTION_ARM(ADD, ARM_ADDITION_S(n, cpu->shifterOperand, cpu->gprs[rd]),
int32_t n = cpu->gprs[rn]; cpu->gprs[rd] = n + cpu->shifterOperand;) -DEFINE_ALU_INSTRUCTION_ARM(ADC, ARM_ADDITION_S(cpu->gprs[rn], shifterOperand, cpu->gprs[rd]), +DEFINE_ALU_INSTRUCTION_ARM(ADC, ARM_ADDITION_S(n, shifterOperand, cpu->gprs[rd]), int32_t n = cpu->gprs[rn]; int32_t shifterOperand = cpu->shifterOperand + cpu->cpsr.c; cpu->gprs[rd] = n + shifterOperand;)