arm: in Thumb mode, ADC & SBC do not update flags. bug reported by @jabba2989

test2
Nguyen Anh Quynh 10 years ago
parent 42d11f7dd3
commit 67fe1c2547
  1. 4
      arch/ARM/ARMMapping.c

@ -10910,7 +10910,7 @@ static insn_map insns[] = {
{
ARM_t2ADCrr, ARM_INS_ADC,
#ifndef CAPSTONE_DIET
{ ARM_REG_CPSR, 0 }, { ARM_REG_CPSR, 0 }, { ARM_GRP_THUMB2, 0 }, 0, 0
{ ARM_REG_CPSR, 0 }, { 0 }, { ARM_GRP_THUMB2, 0 }, 0, 0
#endif
},
{
@ -12086,7 +12086,7 @@ static insn_map insns[] = {
{
ARM_t2SBCrr, ARM_INS_SBC,
#ifndef CAPSTONE_DIET
{ ARM_REG_CPSR, 0 }, { ARM_REG_CPSR, 0 }, { ARM_GRP_THUMB2, 0 }, 0, 0
{ ARM_REG_CPSR, 0 }, { 0 }, { ARM_GRP_THUMB2, 0 }, 0, 0
#endif
},
{

Loading…
Cancel
Save