Lines Matching defs:opcode
30 #include "opcode/msp430.h"
76 struct msp430_opcode_s *opcode;
96 for (opcode = msp430_opcodes; opcode->name; opcode++)
98 if ((insn & opcode->bin_mask) == opcode->bin_opcode
99 && opcode->bin_opcode != 0x9300)
107 if (opcode->insn_opnumb == 3 && (insn & 0x000f) == 0
111 msp430_branchinstr (info, opcode, addr, insn, op1, comm1,
117 switch (opcode->insn_opnumb)
120 cmd_len = msp430_nooperands (opcode, addr, insn, comm1, &cycles);
124 msp430_doubleoperand (info, opcode, addr, insn, op1, op2,
131 msp430_singleoperand (info, opcode, addr, insn, op1, comm1,
133 if (insn & BYTE_OPERATION && opcode->fmt != 3)
149 /* Unknown opcode, or invalid combination of operands. */
154 (*prin) (stream, "%s%s", opcode->name, bc);
195 msp430_nooperands (opcode, addr, insn, comm, cycles)
196 struct msp430_opcode_s *opcode;
205 if (insn == opcode->bin_opcode)
208 if (opcode->fmt == 0)
227 msp430_singleoperand (info, opcode, addr, insn, op, comm, cycles)
229 struct msp430_opcode_s *opcode;
247 switch (opcode->fmt)
254 if (opcode->bin_opcode == 0x4300 && (ad || as))
258 if ((opcode->bin_opcode & 0xff00) == 0x5300 && as == 3)
431 msp430_doubleoperand (info, opcode, addr, insn, op1, op2, comm1, comm2, cycles)
433 struct msp430_opcode_s *opcode;
450 if (opcode->fmt == 0)
684 msp430_branchinstr (info, opcode, addr, insn, op1, comm1, cycles)
686 struct msp430_opcode_s *opcode ATTRIBUTE_UNUSED;