Lines Matching refs:opcode
1 /* s390-mkopc.c -- Generates opcode table out of s390-opc.txt
45 char opcode[16];
67 /* `insertOpcode': insert an op_struct into sorted opcode array. */
70 insertOpcode (char *opcode, char *mnemonic, char *format,
85 str = opcode;
108 strcpy(op_array[ix].opcode, opcode);
119 "/* The opcode table. This file was generated by s390-mkopc.\n\n"
120 " The format of the opcode table is:\n\n"
123 " OPCODE is the instruction opcode.\n"
124 " MASK is the opcode mask; this is used to tell the disassembler\n"
125 " which bits in the actual opcode must match OPCODE.\n"
131 /* `dumpTable': write opcode table. */
145 for (str = op_array[ix].opcode; *str != 0; str++)
149 op_array[ix].no_nibbles*4, op_array[ix].opcode);
171 /* Read opcode descriptions from `stdin'. For each mnemonic,
172 make an entry into the opcode table. */
175 char opcode[16];
187 memset (opcode, 0, 8);
189 opcode, mnemonic, format, description,
228 insertOpcode (opcode, mnemonic, format, min_cpu, mode_bits);