char * op_start;
char * op_end;
mcore_opcode_info * opcode;
- char * output;
+ char * output = NULL;
int nlen = 0;
unsigned short inst;
unsigned reg;
if (strcmp (op_end, opcode->name) && strcmp (op_end, ""))
as_warn (_("ignoring operands: %s "), op_end);
- output[0] = INST_BYTE0 (inst);
- output[1] = INST_BYTE1 (inst);
+ if (output != NULL)
+ {
+ output[0] = INST_BYTE0 (inst);
+ output[1] = INST_BYTE1 (inst);
+ }
#ifdef OBJ_ELF
dwarf2_emit_insn (2);