library/src/decoders/x86ASM/BP-x86OperandAnalysis.cc
// determines if an operand is a static register
determines if an operand is a static register
determines if an operand is a static register
size_t X86_32_IsOperandStaticRegOnly(size_t operand){
	switch(operand){
			case IA_EAX:
				return true;
			case IA_AL:
				return true;
			case IA_AX:
				return true;
			case IA_CL:
				return true;
			case IA_DX:
				return true;
			case IA_CS:
				return true;
			case IA_DS:
				return true;
			case IA_ES:
				return true;
			case IA_FS:
				return true;
			case IA_GS:
				return true;
			case IA_SS:
				return true;
			default:
				return false;
	}
	return false;
}
size_t X86_32_IsOperandStaticRegOnly ( size_t operand ) { switch ( operand ) { case IA_EAX : return true ; case IA_AL : return true ; case IA_AX : return true ; case IA_CL : return true ; case IA_DX : return true ; case IA_CS : return true ; case IA_DS : return true ; case IA_ES : return true ; case IA_FS : return true ; case IA_GS : return true ; case IA_SS : return true ; default : return false ; } return false ; }
determines if an operand is a static register
determines if an operand is a static register
// Static Registers