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 v810_cmd *cmd) |
static int | decode_imm_reg (const ut16 instr, struct v810_cmd *cmd) |
static int | decode_bcond (const ut16 instr, struct v810_cmd *cmd) |
static int | decode_jump (const ut16 word1, const ut16 word2, struct v810_cmd *cmd) |
static int | decode_3operands (const ut16 word1, const ut16 word2, struct v810_cmd *cmd) |
static int | decode_load_store (const ut16 word1, const ut16 word2, struct v810_cmd *cmd) |
static int | decode_bit_op (const ut16 instr, struct v810_cmd *cmd) |
static int | decode_extended (const ut16 word1, const ut16 word2, struct v810_cmd *cmd) |
int | v810_decode_command (const ut8 *instr, int len, struct v810_cmd *cmd) |
Variables | |
static const char * | instrs [] |
static const char * | bit_instrs [] |
static const char * | ext_instrs [] |
static const char * | conds [] |
static const char * | sysreg_names [] |
Definition at line 219 of file v810_disas.c.
References cmd, instrs, OPCODE, REG1, REG2, snprintf, st16, V810_ADDI, and V810_INSTR_MAXLEN.
Referenced by v810_decode_command().
Definition at line 193 of file v810_disas.c.
References cmd, cond, conds, DISP9, snprintf, st16, V810_COND_NOP, and V810_INSTR_MAXLEN.
Referenced by v810_decode_command().
Definition at line 265 of file v810_disas.c.
References bit_instrs, cmd, REG1, snprintf, and V810_INSTR_MAXLEN.
Referenced by v810_decode_command().
Definition at line 274 of file v810_disas.c.
References cmd, ext_instrs, OPCODE, REG1, REG2, snprintf, V810_EXT_ADDF_S, V810_EXT_CMPF_S, V810_EXT_CVT_SW, V810_EXT_CVT_WS, V810_EXT_DIVF_S, V810_EXT_MPYHW, V810_EXT_MULF_S, V810_EXT_REV, V810_EXT_SUBF_S, V810_EXT_TRNC_SW, V810_EXT_XB, V810_EXT_XH, and V810_INSTR_MAXLEN.
Referenced by v810_decode_command().
Definition at line 146 of file v810_disas.c.
References cmd, IMM5, instrs, OPCODE, REG2, SIGN_EXT_T5, snprintf, st8, sysreg_names, V810_ADD_IMM5, V810_CMP_IMM5, V810_INSTR_MAXLEN, V810_LDSR, V810_MOV_IMM5, V810_SAR_IMM5, V810_SETF, V810_SHL_IMM5, V810_SHR_IMM5, V810_STSR, and V810_TRAP.
Referenced by v810_decode_command().
Definition at line 210 of file v810_disas.c.
References cmd, DISP26, instrs, OPCODE, snprintf, and V810_INSTR_MAXLEN.
Referenced by v810_decode_command().
Definition at line 124 of file v810_disas.c.
References cmd, instrs, OPCODE, REG1, REG2, snprintf, V810_INSTR_MAXLEN, and V810_JMP.
Referenced by v810_decode_command().
Definition at line 309 of file v810_disas.c.
References cmd, decode_3operands(), decode_bcond(), decode_bit_op(), decode_extended(), decode_imm_reg(), decode_jump(), decode_load_store(), decode_reg_reg(), len, OPCODE, rz_read_le16(), V810_ADD, V810_ADD_IMM5, V810_ADDI, V810_AND, V810_ANDI, V810_BSTR, V810_CAXI, V810_CLI, V810_CMP, V810_CMP_IMM5, V810_DIV, V810_DIVU, V810_EXT, V810_HALT, V810_INB, V810_INH, V810_INW, V810_JAL, V810_JMP, V810_JR, V810_LDB, V810_LDH, V810_LDSR, V810_LDW, V810_MOV, V810_MOV_IMM5, V810_MOVEA, V810_MOVHI, V810_MUL, V810_MULU, V810_NOT, V810_OR, V810_ORI, V810_OUTB, V810_OUTH, V810_OUTW, V810_RETI, V810_SAR, V810_SAR_IMM5, V810_SEI, V810_SETF, V810_SHL, V810_SHL_IMM5, V810_SHR, V810_SHR_IMM5, V810_STB, V810_STH, V810_STSR, V810_STW, V810_SUB, V810_TRAP, V810_XOR, and V810_XORI.
Referenced by disassemble(), and v810_op().
|
static |
Definition at line 63 of file v810_disas.c.
Referenced by decode_bit_op().
|
static |
Definition at line 93 of file v810_disas.c.
Referenced by arm_opcode_cond(), cqcheck(), decode_bcond(), and thumb_assemble().
|
static |
Definition at line 78 of file v810_disas.c.
Referenced by decode_extended().
|
static |
Definition at line 9 of file v810_disas.c.
Referenced by decode_3operands(), decode_imm_reg(), decode_jump(), decode_load_store(), and decode_reg_reg().
|
static |
Definition at line 111 of file v810_disas.c.
Referenced by decode_imm_reg().