Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | v850_cmd |
Macros | |
#define | V850_INSTR_MAXLEN 24 |
#define | SIGN_EXT_T5(imm) (((imm)&0x10) ? (imm) | 0xE0 : (imm)) |
#define | SIGN_EXT_T9(imm) (((imm)&0x100) ? (imm) | 0xFFFFFE00 : (imm)) |
#define | SIGN_EXT_T26(imm) (((imm)&0x2000000) ? (imm) | 0xFC000000 : (imm)) |
Functions | |
static ut8 | get_opcode (const ut16 instr) |
static ut8 | get_subopcode (const ut16 instr) |
static ut8 | get_reg1 (const ut16 instr) |
static ut8 | get_reg2 (const ut16 instr) |
int | v850_decode_command (const ut8 *instr, int len, struct v850_cmd *cmd) |
Definition at line 11 of file v850_disas.h.
Definition at line 9 of file v850_disas.h.
Definition at line 10 of file v850_disas.h.
#define V850_INSTR_MAXLEN 24 |
Definition at line 7 of file v850_disas.h.
enum v850_bit_ops |
Enumerator | |
---|---|
V850_BIT_SET1 | |
V850_BIT_NOT1 | |
V850_BIT_CLR1 | |
V850_BIT_TST1 |
Definition at line 88 of file v850_disas.h.
enum v850_cmd_opcodes |
Definition at line 13 of file v850_disas.h.
enum v850_conds |
Definition at line 66 of file v850_disas.h.
enum v850_extension1 |
Enumerator | |
---|---|
V850_EXT_SETF | |
V850_EXT_LDSR | |
V850_EXT_STSR | |
V850_EXT_UNDEF1 | |
V850_EXT_SHR | |
V850_EXT_SAR | |
V850_EXT_SHL | |
V850_EXT_UNDEF2 | |
V850_EXT_TRAP | |
V850_EXT_HALT | |
V850_EXT_RETI | |
V850_EXT_EXT2 |
Definition at line 95 of file v850_disas.h.
enum v850_extension2 |
enum v850_flags |
Enumerator | |
---|---|
V850_FLAG_CY | |
V850_FLAG_OV | |
V850_FLAG_S | |
V850_FLAG_Z |
Definition at line 165 of file v850_disas.h.
enum v850_regs |
Definition at line 115 of file v850_disas.h.
enum v850_sysregs |
Enumerator | |
---|---|
V850_SREG_EIPC | |
V850_SREG_EIPCW | |
V850_SREG_FEPC | |
V850_SREG_FEPSW | |
V850_SREG_ECR | |
V850_SREG_PSW | |
V850_SREG_CTPC | |
V850_SREG_CTPSW | |
V850_SREG_DBPC | |
V850_SREG_DBPSW | |
V850_SREG_CTBP | |
V850_SREG_DIR |
Definition at line 150 of file v850_disas.h.
Definition at line 179 of file v850_disas.h.
Definition at line 188 of file v850_disas.h.
Referenced by decode_3operands(), decode_bit_op(), decode_extended(), decode_imm_reg(), decode_jarl(), decode_load_store(), and decode_reg_reg().
Definition at line 192 of file v850_disas.h.
Referenced by decode_3operands(), decode_extended(), decode_imm_reg(), decode_jarl(), decode_load_store(), and decode_reg_reg().
Definition at line 184 of file v850_disas.h.
Referenced by decode_extended(), and v850_op().
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().