OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | nds32_instruction |
Enumerations | |
enum | nds32_instruction_type { NDS32_INSN_DATA_PROC = 0 , NDS32_INSN_LOAD_STORE , NDS32_INSN_JUMP_BRANCH , NDS32_INSN_RESOURCE_ACCESS , NDS32_INSN_MISC } |
Functions | |
int | nds32_evaluate_opcode (struct nds32 *nds32, uint32_t opcode, uint32_t address, struct nds32_instruction *instruction) |
int | nds32_read_opcode (struct nds32 *nds32, uint32_t address, uint32_t *value) |
Enumerator | |
---|---|
NDS32_INSN_DATA_PROC | |
NDS32_INSN_LOAD_STORE | |
NDS32_INSN_JUMP_BRANCH | |
NDS32_INSN_RESOURCE_ACCESS | |
NDS32_INSN_MISC |
Definition at line 13 of file nds32_disassembler.h.
int nds32_evaluate_opcode | ( | struct nds32 * | nds32, |
uint32_t | opcode, | ||
uint32_t | address, | ||
struct nds32_instruction * | instruction | ||
) |
Definition at line 3770 of file nds32_disassembler.c.
References ERROR_FAIL, ERROR_OK, nds32_instruction::info, nds32_instruction::instruction_size, nds32_parse_group_0_insn(), nds32_parse_group_0_insn_16(), nds32_parse_group_1_insn(), nds32_parse_group_1_insn_16(), nds32_parse_group_2_insn(), nds32_parse_group_2_insn_16(), nds32_parse_group_3_insn(), nds32_parse_group_3_insn_16(), nds32_parse_group_4_insn(), nds32_parse_group_5_insn(), nds32_parse_group_6_insn(), nds32_instruction::opc_6, nds32_instruction::opcode, and nds32_instruction::text.
Referenced by COMMAND_HANDLER(), nds32_examine_debug_reason(), and nds32_v3_get_exception_address().
int nds32_read_opcode | ( | struct nds32 * | nds32, |
uint32_t | address, | ||
uint32_t * | value | ||
) |
Definition at line 18 of file nds32_disassembler.c.
References be_to_h_u32(), ERROR_FAIL, ERROR_OK, LOG_DEBUG, LOG_ERROR, nds32::target, target_read_buffer(), and target_was_examined().
Referenced by COMMAND_HANDLER(), nds32_examine_debug_reason(), and nds32_v3_get_exception_address().