Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | lh5801_insn_class_desc |
struct | lh5801_insn |
Typedefs | |
typedef uint8_t | ut8 |
Functions | |
int | lh5801_decode (struct lh5801_insn *, const uint8_t *, int) |
void | lh5801_print_insn (char *out, int size, const struct lh5801_insn *) |
Variables | |
const struct lh5801_insn_class_desc | lh5801_insn_class_descs [LH5801_INSNC_NUMBER] |
enum lh5801_insn_class |
Definition at line 14 of file lh5801.h.
int lh5801_decode | ( | struct lh5801_insn * | insn, |
const uint8_t * | buf, | ||
int | len | ||
) |
Definition at line 674 of file lh5801.c.
References ARRAY_LENGTH, desc, lh5801_insn::fd, fd, i, lh5801_insn::iclass, lh5801_insn::imm, len, LH5801_IFMT_BCH, LH5801_IFMT_COND, lh5801_ifmt_fd_matches(), LH5801_IFMT_IMMS, LH5801_IFMT_REG_MASK, LH5801_IFMT_RREG, LH5801_IFMT_VEJ, lh5801_insn_descs, lh5801_insn::opcode, lh5801_insn::type, and type.
Referenced by disassemble().
void lh5801_print_insn | ( | char * | out, |
int | size, | ||
const struct lh5801_insn * | insn | ||
) |
Definition at line 792 of file lh5801.c.
References desc, lh5801_insn::fd, lh5801_insn_desc::iclass, lh5801_insn::iclass, lh5801_insn::imm, LH5801_IFMT_AREG, LH5801_IFMT_BCH, LH5801_IFMT_COND, LH5801_IFMT_FD_MASK, LH5801_IFMT_FD_MOD, LH5801_IFMT_IMM0, LH5801_IFMT_IMM1, LH5801_IFMT_IMM2, LH5801_IFMT_IMM3, LH5801_IFMT_PREG, LH5801_IFMT_RMODE_MASK, LH5801_IFMT_RREG, LH5801_IFMT_SREG, LH5801_IFMT_VEJ, lh5801_insn_class_descs, lh5801_insn_descs, mnem, lh5801_insn::opcode, out, print_reg(), snprintf, and lh5801_insn::type.
Referenced by disassemble().
const struct lh5801_insn_class_desc lh5801_insn_class_descs[LH5801_INSNC_NUMBER] |