x86: fix the last bug on PUSH/POP <segment> for ATT syntax

_v3_old
Nguyen Anh Quynh 10 years ago
parent b32515d622
commit 2ce4da3726
  1. 33
      arch/X86/X86Mapping.c

@ -47310,6 +47310,39 @@ static struct insn_reg insn_regs_att[] = {
{ X86_CMP16i16, X86_REG_AX },
{ X86_ADC32i32, X86_REG_EAX },
{ X86_IN32ri, X86_REG_EAX },
{ X86_PUSHCS32, X86_REG_CS },
{ X86_PUSHDS32, X86_REG_DS },
{ X86_PUSHES32, X86_REG_ES },
{ X86_PUSHFS32, X86_REG_FS },
{ X86_PUSHGS32, X86_REG_GS },
{ X86_PUSHSS32, X86_REG_SS },
{ X86_PUSHFS64, X86_REG_FS },
{ X86_PUSHGS64, X86_REG_GS },
{ X86_PUSHCS16, X86_REG_CS },
{ X86_PUSHDS16, X86_REG_DS },
{ X86_PUSHES16, X86_REG_ES },
{ X86_PUSHFS16, X86_REG_FS },
{ X86_PUSHGS16, X86_REG_GS },
{ X86_PUSHSS16, X86_REG_SS },
{ X86_POPDS32, X86_REG_DS },
{ X86_POPES32, X86_REG_ES },
{ X86_POPFS32, X86_REG_FS },
{ X86_POPGS32, X86_REG_GS },
{ X86_POPSS32, X86_REG_SS },
{ X86_POPFS64, X86_REG_FS },
{ X86_POPGS64, X86_REG_GS },
{ X86_POPDS16, X86_REG_DS },
{ X86_POPES16, X86_REG_ES },
{ X86_POPFS16, X86_REG_FS },
{ X86_POPGS16, X86_REG_GS },
{ X86_POPSS16, X86_REG_SS },
#ifndef CAPSTONE_X86_REDUCE
{ X86_SKINIT, X86_REG_EAX },
{ X86_INVLPGA32, X86_REG_EAX },

Loading…
Cancel
Save