blob: 76c201c6ea08c196473dd96a7a88f78f7300aa63 [file] [log] [blame]
void yasm_lc3b__parse_insn( int num_info, int *num_operands
, int *operands, int op)
{
int found = 0;
int i;
for (; num_info>0 && !found; num_info--)
{
int mismatch = 0;
for(i = 0;op && (i<*num_operands)&& !mismatch; i++)
{
if (!(int)(operands[i] & 0x1))
mismatch = 1;
if (mismatch)
break;
}
if (!mismatch)
found = 1;
}
}