library/src/decoders/x86ASM/BP-x86InstDecode.cc
// Tests an instruction to see if it contains a size override
Tests an instruction to see if it contains a size override
Tests an instruction to see if it contains a size override
int X86_32_ContainsPrefixOpSizeOverride(P_X86_32_INSTRUCTION instTable,
											P_X86_32_DECODED_INSTRUCTION_LIST inList){
	for(size_t i = 0; i < instTable->binPrefixLen; i++){
		if(instTable->binPrefix[i] == 0x66){
			return true;
		}
	}
	return false;
}
int X86_32_ContainsPrefixOpSizeOverride ( P_X86_32_INSTRUCTION instTable , P_X86_32_DECODED_INSTRUCTION_LIST inList ) { for ( size_t i = 0 ; i < instTable -> binPrefixLen ; i ++ ) { if ( instTable -> binPrefix [ i ] == 0x66 ) { return true ; } } return false ; }
Tests an instruction to see if it contains a size override
Tests an instruction to see if it contains a size override
// Loop through the prefix to find operand override