Lines Matching refs:instr
293 struct instruction *instr, int n);
670 "masks", "mask", "instrs", "instr", "bitfieldopt", "bytes", "byte",
2375 struct instruction *instr, int n)
2392 if (instr->operands[n].str != NULL)
2397 instr->operands[n].str = runp->str;
2440 if (instr->operands[n].off1 == 0)
2441 instr->operands[n].off1 = bitoff;
2442 else if (instr->operands[n].off2 == 0)
2443 instr->operands[n].off2 = bitoff;
2444 else if (instr->operands[n].off3 == 0)
2445 instr->operands[n].off3 = bitoff;
2453 instr->modrm = 1;
2463 instr->operands[n].fct = fct;
2795 struct instruction *instr;
2796 for (instr = instructions; instr != NULL; instr = instr->next)
2799 if (instr->mnemonic == (void *) -1l)
2802 fprintf (outfile, " .mnemonic = MNE_%s,", instr->mnemonic);
2803 fprintf (outfile, " .rep = %d,", instr->rep);
2804 fprintf (outfile, " .repe = %d,", instr->repe);
2805 fprintf (outfile, " .suffix = %d,", instr->suffix);
2806 fprintf (outfile, " .modrm = %d,", instr->modrm);
2811 if (instr->operands[i].fct != NULL)
2813 struct argstring search = { .str = instr->operands[i].fct };
2822 if (instr->operands[i].str != NULL)
2824 struct argstring search = { .str = instr->operands[i].str };
2834 MAX (0, instr->operands[i].off1 - minoff[i][0]));
2838 MAX (0, instr->operands[i].off2 - minoff[i][1]));
2842 MAX (0, instr->operands[i].off3 - minoff[i][2]));
2851 for (instr = instructions; instr != NULL; instr = instr->next, ++cnt)
2856 struct bitvalue *b = instr->bytes;
2884 b = instr->bytes;