Lines Matching defs:instr
192 struct instruction *instr, int n);
282 instrs: instrs '\n' instr
283 | instr
286 instr: bytes ':' bitfieldopt kID bitfieldopt optargs
774 struct instruction *instr, int n)
791 if (instr->operands[n].str != NULL)
796 instr->operands[n].str = runp->str;
839 if (instr->operands[n].off1 == 0)
840 instr->operands[n].off1 = bitoff;
841 else if (instr->operands[n].off2 == 0)
842 instr->operands[n].off2 = bitoff;
843 else if (instr->operands[n].off3 == 0)
844 instr->operands[n].off3 = bitoff;
852 instr->modrm = 1;
862 instr->operands[n].fct = fct;
1194 struct instruction *instr;
1195 for (instr = instructions; instr != NULL; instr = instr->next)
1198 if (instr->mnemonic == (void *) -1l)
1201 fprintf (outfile, " .mnemonic = MNE_%s,", instr->mnemonic);
1202 fprintf (outfile, " .rep = %d,", instr->rep);
1203 fprintf (outfile, " .repe = %d,", instr->repe);
1204 fprintf (outfile, " .suffix = %d,", instr->suffix);
1205 fprintf (outfile, " .modrm = %d,", instr->modrm);
1210 if (instr->operands[i].fct != NULL)
1212 struct argstring search = { .str = instr->operands[i].fct };
1221 if (instr->operands[i].str != NULL)
1223 struct argstring search = { .str = instr->operands[i].str };
1233 MAX (0, instr->operands[i].off1 - minoff[i][0]));
1237 MAX (0, instr->operands[i].off2 - minoff[i][1]));
1241 MAX (0, instr->operands[i].off3 - minoff[i][2]));
1250 for (instr = instructions; instr != NULL; instr = instr->next, ++cnt)
1257 struct bitvalue *b = instr->bytes;
1289 b = instr->bytes;