Lines Matching defs:opcode
62 * \param[in] opcode The instruction opcode.
65 static inline size_t rogue_instr_num_operands(enum rogue_opcode opcode)
67 ASSERT_OPCODE_RANGE(opcode);
69 return instr_operand_count[opcode];
76 * \param[in] opcode The instruction opcode.
79 struct rogue_instr *rogue_instr_create(void *mem_ctx, enum rogue_opcode opcode)
83 ASSERT_OPCODE_RANGE(opcode);
89 instr->opcode = opcode;
90 instr->num_operands = rogue_instr_num_operands(opcode);