library/src/decoders/x86ASM/BP-x86OperandAnalysis.cc
// determines if an operand is a register only operand
determines if an operand is a register only operand
determines if an operand is a register only operand
size_t X86_32_IsOperandRegOnly(size_t operand){
	switch(operand){
		case IA_R8:
			return true;
		case IA_R16:
			return true;
		case IA_R32:
			return true;
		case IA_R64:
			return true;
		case IA_MM:
			return true;
		case IA_XMM:
			return true;
		default:
				break;
	}
	return false;
}
size_t X86_32_IsOperandRegOnly ( size_t operand ) { switch ( operand ) { case IA_R8 : return true ; case IA_R16 : return true ; case IA_R32 : return true ; case IA_R64 : return true ; case IA_MM : return true ; case IA_XMM : return true ; default : break ; } return false ; }
determines if an operand is a register only operand
determines if an operand is a register only operand
/*
		// Static Registers

		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;
		*/ // (r8) One of the general purpose registers // (mm) MMX Register. MM0 - MM7 // (xmm) A XMM Register (128-bit)