Lines Matching refs:instr
189 struct instruction *instr, int n);
279 instrs: instrs '\n' instr
280 | instr
283 instr: bytes ':' bitfieldopt kID bitfieldopt optargs
771 struct instruction *instr, int n)
788 if (instr->operands[n].str != NULL)
793 instr->operands[n].str = runp->str;
836 if (instr->operands[n].off1 == 0)
837 instr->operands[n].off1 = bitoff;
838 else if (instr->operands[n].off2 == 0)
839 instr->operands[n].off2 = bitoff;
840 else if (instr->operands[n].off3 == 0)
841 instr->operands[n].off3 = bitoff;
849 instr->modrm = 1;
859 instr->operands[n].fct = fct;
1191 struct instruction *instr;
1192 for (instr = instructions; instr != NULL; instr = instr->next)
1195 if (instr->mnemonic == (void *) -1l)
1198 fprintf (outfile, " .mnemonic = MNE_%s,", instr->mnemonic);
1199 fprintf (outfile, " .rep = %d,", instr->rep);
1200 fprintf (outfile, " .repe = %d,", instr->repe);
1201 fprintf (outfile, " .suffix = %d,", instr->suffix);
1202 fprintf (outfile, " .modrm = %d,", instr->modrm);
1207 if (instr->operands[i].fct != NULL)
1209 struct argstring search = { .str = instr->operands[i].fct };
1218 if (instr->operands[i].str != NULL)
1220 struct argstring search = { .str = instr->operands[i].str };
1230 MAX (0, instr->operands[i].off1 - minoff[i][0]));
1234 MAX (0, instr->operands[i].off2 - minoff[i][1]));
1238 MAX (0, instr->operands[i].off3 - minoff[i][2]));
1247 for (instr = instructions; instr != NULL; instr = instr->next, ++cnt)
1254 struct bitvalue *b = instr->bytes;
1286 b = instr->bytes;