Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
static int | decode_reg_reg (const ut16 instr, struct v850_cmd *cmd) |
static int | decode_imm_reg (const ut16 instr, struct v850_cmd *cmd) |
static int | decode_bcond (const ut16 instr, int len, struct v850_cmd *cmd) |
static int | decode_jarl (const ut8 *instr, int len, struct v850_cmd *cmd) |
static int | decode_3operands (const ut8 *instr, int len, struct v850_cmd *cmd) |
static int | decode_load_store (const ut8 *instr, int len, struct v850_cmd *cmd) |
static int | decode_bit_op (const ut8 *instr, int len, struct v850_cmd *cmd) |
static int | decode_extended (const ut8 *instr, int len, struct v850_cmd *cmd) |
int | v850_decode_command (const ut8 *instr, int len, struct v850_cmd *cmd) |
Variables | |
static const char * | instrs [] |
static const char * | bit_instrs [] |
static const char * | ext_instrs1 [] |
static const char * | ext_instrs2 [] |
static const char * | conds [] |
Definition at line 189 of file v850_disas.c.
References cmd, get_opcode, get_reg1(), get_reg2(), instrs, len, rz_read_at_le16(), rz_read_le16(), snprintf, and V850_INSTR_MAXLEN.
Referenced by v850_decode_command().
Definition at line 154 of file v850_disas.c.
References cmd, conds, delta, PFMT64x, snprintf, ut64(), and V850_INSTR_MAXLEN.
Referenced by v850_decode_command().
Definition at line 237 of file v850_disas.c.
References bit_instrs, cmd, get_reg1(), len, rz_read_at_le16(), rz_read_le16(), snprintf, and V850_INSTR_MAXLEN.
Referenced by v850_decode_command().
Definition at line 251 of file v850_disas.c.
References cmd, conds, ext_instrs1, ext_instrs2, get_reg1(), get_reg2(), get_subopcode(), len, rz_read_at_le16(), rz_read_le16(), snprintf, V850_EXT_EXT2, V850_EXT_HALT, V850_EXT_LDSR, V850_EXT_RETI, V850_EXT_SAR, V850_EXT_SETF, V850_EXT_SHL, V850_EXT_SHR, V850_EXT_STSR, V850_EXT_TRAP, and V850_INSTR_MAXLEN.
Referenced by v850_decode_command().
Definition at line 124 of file v850_disas.c.
References cmd, get_opcode, get_reg1(), get_reg2(), instrs, snprintf, st8, and V850_INSTR_MAXLEN.
Referenced by v850_decode_command().
Definition at line 171 of file v850_disas.c.
References cmd, get_opcode, get_reg1(), get_reg2(), instrs, len, reg, rz_read_at_le16(), rz_read_le16(), snprintf, and V850_INSTR_MAXLEN.
Referenced by v850_decode_command().
Definition at line 201 of file v850_disas.c.
References cmd, get_opcode, get_reg1(), get_reg2(), instrs, len, rz_read_at_le16(), rz_read_le16(), snprintf, V850_INSTR_MAXLEN, V850_LDB, V850_LDHW, V850_STB, and V850_STHW.
Referenced by v850_decode_command().
Definition at line 104 of file v850_disas.c.
References cmd, get_opcode, get_reg1(), get_reg2(), instrs, snprintf, V850_INSTR_MAXLEN, and V850_JMP.
Referenced by v850_decode_command().
Definition at line 301 of file v850_disas.c.
References cmd, decode_3operands(), decode_bcond(), decode_bit_op(), decode_extended(), decode_imm_reg(), decode_jarl(), decode_load_store(), decode_reg_reg(), get_opcode, in, len, rz_read_le16(), V850_ADD, V850_ADD_IMM5, V850_ADDI, V850_AND, V850_ANDI, V850_BIT_MANIP, V850_CMP, V850_CMP_IMM5, V850_DIVH, V850_EXT1, V850_JARL1, V850_JARL2, V850_JMP, V850_LDB, V850_LDHW, V850_MOV, V850_MOV_IMM5, V850_MOVEA, V850_MOVHI, V850_MULH, V850_MULH_IMM5, V850_MULHI, V850_NOT, V850_OR, V850_ORI, V850_SAR_IMM5, V850_SATADD, V850_SATADD_IMM5, V850_SATSUB, V850_SATSUBI, V850_SATSUBR, V850_SHL_IMM5, V850_SHR_IMM5, V850_STB, V850_STHW, V850_SUB, V850_SUBR, V850_TST, V850_XOR, and V850_XORI.
Referenced by disassemble(), and v850_op().
|
static |
Definition at line 60 of file v850_disas.c.
Referenced by decode_bit_op().
|
static |
Definition at line 85 of file v850_disas.c.
Referenced by decode_bcond(), and decode_extended().
|
static |
Definition at line 67 of file v850_disas.c.
Referenced by decode_extended().
|
static |
Definition at line 80 of file v850_disas.c.
Referenced by decode_extended().
|
static |
Definition at line 10 of file v850_disas.c.
Referenced by decode_3operands(), decode_imm_reg(), decode_jarl(), decode_load_store(), and decode_reg_reg().