Home | History | Annotate | Download | only in config

Lines Matching refs:OPCODE

34   char *        opcode;
40 #define AVR_INSN(NAME, CONSTR, OPCODE, SIZE, ISA, BIN) \
41 {#NAME, CONSTR, OPCODE, SIZE, ISA, BIN},
45 #include "opcode/avr.h"
401 /* Opcode hash table. */
634 struct avr_opcodes_s *opcode;
639 quick index to the first opcode with a particular name in the opcode
641 for (opcode = avr_opcodes; opcode->name; opcode++)
642 hash_insert (avr_hash, opcode->name, (char *) opcode);
847 avr_operand (struct avr_opcodes_s *opcode,
988 for (s = opcode->opcode; *s; ++s)
991 op_mask |= (1 << (15 - (s - opcode->opcode)));
1024 fix_new_exp (frag_now, where, opcode->insn_size * 2,
1030 fix_new_exp (frag_now, where, opcode->insn_size * 2,
1036 fix_new_exp (frag_now, where, opcode->insn_size * 2,
1042 fix_new_exp (frag_now, where + 2, opcode->insn_size * 2,
1048 fix_new_exp (frag_now, where, opcode->insn_size * 2,
1097 fix_new_exp (frag_now, where, opcode->insn_size * 2,
1103 fix_new_exp (frag_now, where, opcode->insn_size * 2,
1129 Return binary opcode. */
1132 avr_operands (struct avr_opcodes_s *opcode, char **line)
1134 char *op = opcode->constraints;
1135 unsigned int bin = opcode->bin_opcode;
1136 char *frag = frag_more (opcode->insn_size * 2);
1139 static unsigned int prev = 0; /* Previous opcode. */
1141 /* Opcode have operands. */
1152 reg1 = avr_operand (opcode, where, op, &str);
1176 reg2 = avr_operand (opcode, where, op, &str);
1193 if (opcode->insn_size == 2)
1195 /* Warn if the previous opcode was cpse/sbic/sbis/sbrc/sbrs
1638 struct avr_opcodes_s *opcode;
1644 as_bad (_("can't find opcode "));
1646 opcode = (struct avr_opcodes_s *) hash_find (avr_hash, op);
1648 if (opcode && !avr_opt.all_opcodes)
1654 This requires include/opcode/avr.h to have the instructions with
1657 while ((opcode->isa & avr_mcu->isa) != opcode->isa)
1659 opcode++;
1661 if (opcode->name && strcmp(op, opcode->name))
1663 as_bad (_("illegal opcode %s for mcu %s"),
1664 opcode->name, avr_mcu->name);
1670 if (opcode == NULL)
1672 as_bad (_("unknown opcode `%s'"), op);
1679 if (*str && *opcode->constraints == '?')
1680 ++opcode;
1689 avr_operands (opcode, &str);