Lines Matching refs:opcode
223 else if (!strcmp(ident, "opcode")) instr->_opcode = opcode_parse(instr);
460 else if (!strcmp(ident, "opcode")) {
461 parse_err(SYNERR, "Operands do not specify an opcode\n");
3173 parse_err(SYNERR, "size of opcode expected at %c\n", _curchar);
3190 fprintf(stderr,"size of opcode: %s\n", sizeOfInstr);
3205 Opcode *opcode = NULL;
3207 // Get value of the instruction's opcode
3217 if ( ((primary = get_ident_or_literal_constant("primary opcode")) == NULL) ) {
3218 parse_err(SYNERR, "primary hex opcode expected at %c\n", _curchar);
3225 // Parse secondary opcode
3226 if ( ((secondary = get_ident_or_literal_constant("secondary opcode")) == NULL) ) {
3227 parse_err(SYNERR, "secondary hex opcode expected at %c\n", _curchar);
3234 // Parse tertiary opcode
3235 if ( ((tertiary = get_ident_or_literal_constant("tertiary opcode")) == NULL) ) {
3236 parse_err(SYNERR,"tertiary hex opcode expected at %c\n", _curchar);
3244 parse_err(SYNERR, "Missing ')' in opcode description\n");
3260 if (primary != NULL) fprintf(stderr,"primary opcode: %s\n", primary);
3261 if (secondary != NULL) fprintf(stderr,"secondary opcode: %s\n", secondary);
3262 if (tertiary != NULL) fprintf(stderr,"tertiary opcode: %s\n", tertiary);
3266 opcode = new Opcode(primary, secondary, tertiary);
3267 return opcode;
4011 char *token; // Identifier which may be opcode or operand
4019 // Parse the opcode
4020 token = get_ident(); // Get identifier, opcode
4022 parse_err(SYNERR, "missing opcode in match expression\n");