yasm_lc3b__parse_insn(int num_info,int * num_operands,int * operands,int op)1void yasm_lc3b__parse_insn( int num_info, int *num_operands 2 , int *operands, int op) 3 { 4 int found = 0; 5 int i; 6 for (; num_info>0 && !found; num_info--) 7 { 8 int mismatch = 0; 9 for(i = 0;op && (i<*num_operands)&& !mismatch; i++) 10 { 11 if (!(int)(operands[i] & 0x1)) 12 mismatch = 1; 13 if (mismatch) 14 break; 15 } 16 if (!mismatch) 17 found = 1; 18 } 19 } 20