library/src/decoders/x86ASM/BP-x86OperandAnalysis.cc
// Determines if an operand is a control register
Determines if an operand is a control register
Determines if an operand is a control register
size_t X86_32_IsOperandControlRegister(size_t operand){
	switch(operand){
		case IA_CR_0:
			return true;
		case IA_CR_1:
			return true;
		case IA_CR_2:
			return true;
		case IA_CR_3:
			return true;
		case IA_CR_4:
			return true;
		case IA_CR_5:
			return true;
		case IA_CR_6:
			return true;
		case IA_CR_7:
			return true;
		default:
				break;
	}
	return false;
}
size_t X86_32_IsOperandControlRegister ( size_t operand ) { switch ( operand ) { case IA_CR_0 : return true ; case IA_CR_1 : return true ; case IA_CR_2 : return true ; case IA_CR_3 : return true ; case IA_CR_4 : return true ; case IA_CR_5 : return true ; case IA_CR_6 : return true ; case IA_CR_7 : return true ; default : break ; } return false ; }
Determines if an operand is a control register
Determines if an operand is a control register
// CR Registers