x86: support CR9-CR15 registers

_v3_old 3.0.1-rc1
Nguyen Anh Quynh 10 years ago
parent db684b2398
commit c51e04fa97
  1. 2
      arch/X86/X86DisassemblerDecoder.c

@ -1636,8 +1636,6 @@ static int readModRM(struct InternalInstruction *insn)
*valid = 0; \ *valid = 0; \
return prefix##_DR0 + index; \ return prefix##_DR0 + index; \
case TYPE_CONTROLREG: \ case TYPE_CONTROLREG: \
if (index > 8) \
*valid = 0; \
return prefix##_CR0 + index; \ return prefix##_CR0 + index; \
} \ } \
} }

Loading…
Cancel
Save