Home | History | Annotate | Download | only in opcodes

Lines Matching defs:op_array

72 struct op_struct *op_array;
80 op_array = malloc (max_ops * sizeof (struct op_struct));
98 op_array = realloc (op_array, max_ops * sizeof (struct op_struct));
121 if (sort_value > op_array[ix].sort_value)
124 op_array[k] = op_array[k-1];
125 strncpy (op_array[ix].opcode, opcode, MAX_OPCODE_LEN);
126 op_array[ix].opcode[MAX_OPCODE_LEN] = '\0';
127 strncpy (op_array[ix].mnemonic, mnemonic, MAX_MNEMONIC_LEN);
128 op_array[ix].mnemonic[MAX_MNEMONIC_LEN] = '\0';
129 strncpy (op_array[ix].format, format, MAX_FORMAT_LEN);
130 op_array[ix].format[MAX_FORMAT_LEN] = '\0';
131 op_array[ix].sort_value = sort_value;
132 op_array[ix].no_nibbles = no_nibbles;
133 op_array[ix].min_cpu = min_cpu;
134 op_array[ix].mode_bits = mode_bits;
135 op_array[ix].flags = flags;
136 strncpy (op_array[ix].description, description, MAX_DESCRIPTION_LEN);
137 op_array[ix].description[MAX_DESCRIPTION_LEN] = '\0';
344 printf (" { \"%s\", ", op_array[ix].mnemonic);
345 for (str = op_array[ix].opcode; *str != 0; str++)
349 op_array[ix].no_nibbles*4, op_array[ix].opcode);
351 op_array[ix].format, op_array[ix].format);
352 printf ("%i, ", op_array[ix].mode_bits);
353 printf ("%i, ", op_array[ix].min_cpu);
354 printf ("%i, ", op_array[ix].flags);
355 printf ("\"%s\" }", op_array[ix].description);