Lines Matching refs:mnemonic
61 char mnemonic[MAX_MNEMONIC_LEN + 1];
87 insertOpcode (char *opcode, char *mnemonic, char *format,
127 strncpy (op_array[ix].mnemonic, mnemonic, MAX_MNEMONIC_LEN);
128 op_array[ix].mnemonic[MAX_MNEMONIC_LEN] = '\0';
149 /* The mnemonic extensions for conditional jumps used to replace
175 /* The mnemonic extensions for conditional branches used to replace
197 mnemonic extensions. */
200 insertExpandedMnemonic (char *opcode, char *mnemonic, char *format,
212 if (!(tag = strpbrk (mnemonic, "*$")))
214 insertOpcode (opcode, mnemonic, format, min_cpu, mode_bits, flags, description);
218 while (mnemonic[i] != '\0')
220 if (mnemonic[i] == *tag)
229 switch (mnemonic[i])
236 number[number_p++] = mnemonic[i];
249 suffix[suffix_p++] = mnemonic[i];
251 prefix[prefix_p++] = mnemonic[i];
265 print_error ("Mnemonic \"%s\": Conditional mask not at nibble boundary\n", mnemonic);
295 print_error ("Mnemonic: \"%s\": Concatenated mnemonic exceeds max. length\n", mnemonic);
302 print_error ("Mnemonic \"%s\": Concatenated description exceeds max. length\n", mnemonic);
311 print_error ("Malformed mnemonic: %s\n", mnemonic);
344 printf (" { \"%s\", ", op_array[ix].mnemonic);
373 /* Read opcode descriptions from `stdin'. For each mnemonic,
378 char mnemonic[MAX_MNEMONIC_LEN + 1];
401 opcode, mnemonic, format, description,
450 print_error ("Mnemonic \"%s\": Couldn't parse CPU string: %s\n",
451 mnemonic, cpu_string);
467 print_error ("Mnemonic \"%s\": Couldn't parse modes string: %s\n",
468 mnemonic, modes_string);
510 print_error ("Mnemonic \"%s\": Couldn't parse flags string: %s\n",
511 mnemonic, flags_string);
518 insertExpandedMnemonic (opcode, mnemonic, format, min_cpu, mode_bits, flag_bits, description);