Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_types.h>
#include <rz_util.h>
#include <rz_lib.h>
#include <rz_asm.h>
#include "../arch/lm32/lm32_isa.h"
Go to the source code of this file.
Macros | |
#define | LM32_UNUSED 0 |
Variables | |
RzAsmPlugin | rz_asm_plugin_lm32 |
RZ_API RzLibStruct | rizin_plugin |
#define LM32_UNUSED 0 |
Definition at line 10 of file asm_lm32.c.
Definition at line 80 of file asm_lm32.c.
References i, RzAsmLm32CsrNumber, RzAsmLm32Csrs, and cmd_descs_generate::str.
Referenced by write_reg_names_to_struct().
Definition at line 429 of file asm_lm32.c.
References a, rz_asm_lm32_instruction::addr, rz_asm_lm32_decode(), rz_asm_lm32_stringify(), rz_strbuf_get(), rz_strbuf_set(), and rz_asm_lm32_instruction::value.
|
static |
Definition at line 106 of file asm_lm32.c.
References RzAsmLm32InstrImm5InvalidBitsMask, and rz_asm_lm32_instruction::value.
Referenced by rz_asm_lm32_decode().
|
static |
Definition at line 110 of file asm_lm32.c.
References RzAsmLm32InstrOneRegInvalidBitsMask, and rz_asm_lm32_instruction::value.
Referenced by rz_asm_lm32_decode().
|
static |
Definition at line 114 of file asm_lm32.c.
References RzAsmLm32InstrTwoRegsInvalidBitsMask, and rz_asm_lm32_instruction::value.
Referenced by rz_asm_lm32_decode().
|
static |
Definition at line 118 of file asm_lm32.c.
References RzAsmLm32InstrWcsrInvalidBitsMask, and rz_asm_lm32_instruction::value.
Referenced by rz_asm_lm32_decode().
|
static |
Definition at line 129 of file asm_lm32.c.
References lm32_op_or, rz_asm_lm32_instruction::op, and rz_asm_lm32_instruction::src1_reg.
Referenced by rz_asm_lm32_decode().
|
static |
Definition at line 134 of file asm_lm32.c.
References lm32_op_orhi, rz_asm_lm32_instruction::op, and rz_asm_lm32_instruction::src0_reg.
Referenced by rz_asm_lm32_decode().
|
static |
Definition at line 144 of file asm_lm32.c.
References lm32_op_addi, rz_asm_lm32_instruction::op, and rz_asm_lm32_instruction::src0_reg.
Referenced by rz_asm_lm32_decode().
|
static |
Definition at line 149 of file asm_lm32.c.
References rz_asm_lm32_instruction::dest_reg, rz_asm_lm32_instruction::immediate, lm32_op_addi, rz_asm_lm32_instruction::op, and rz_asm_lm32_instruction::src0_reg.
Referenced by print_pseudo_instruction(), and rz_asm_lm32_decode().
|
static |
Definition at line 139 of file asm_lm32.c.
References lm32_op_xnor, rz_asm_lm32_instruction::op, and rz_asm_lm32_instruction::src1_reg.
Referenced by rz_asm_lm32_decode().
|
static |
Definition at line 155 of file asm_lm32.c.
References rz_asm_lm32_instruction::op, and raise_instr.
Referenced by rz_asm_lm32_decode().
|
static |
Definition at line 123 of file asm_lm32.c.
References lm32_op_b, rz_asm_lm32_instruction::op, and rz_asm_lm32_instruction::src0_reg.
Referenced by rz_asm_lm32_decode().
|
static |
Definition at line 305 of file asm_lm32.c.
References rz_asm_lm32_instruction::dest_reg_str, rz_asm_lm32_instruction::immediate, is_pseudo_instr_nop(), lm32_op_addi, lm32_op_b, lm32_op_or, lm32_op_orhi, lm32_op_raise, lm32_op_xnor, rz_asm_lm32_instruction::op, rz_asm_lm32_instruction::pseudoInstruction, sprintf, rz_asm_lm32_instruction::src0_reg_str, and cmd_descs_generate::str.
Referenced by rz_asm_lm32_stringify().
Definition at line 13 of file asm_lm32.c.
References i, reg, RzAsmLm32RegNumber, RzAsmLm32Regs, and cmd_descs_generate::str.
Referenced by write_reg_names_to_struct().
|
static |
Definition at line 159 of file asm_lm32.c.
References rz_asm_lm32_instruction::csr, csr_reg, rz_asm_lm32_instruction::dest_reg, extract_imm16(), extract_imm26(), extract_imm5(), extract_opcode(), extract_reg_u(), extract_reg_v(), extract_reg_w(), imm26, rz_asm_lm32_instruction::immediate, is_invalid_imm5_instr(), is_invalid_one_reg_instr(), is_invalid_two_reg_instr(), is_invalid_wcsr_instr(), is_pseudo_instr_mv(), is_pseudo_instr_mvhi(), is_pseudo_instr_mvi(), is_pseudo_instr_nop(), is_pseudo_instr_not(), is_pseudo_instr_raise(), is_pseudo_instr_ret(), one_reg, rz_asm_lm32_instruction::op, rz_asm_lm32_instruction::op_decode, rz_asm_lm32_instruction::pseudoInstruction, raise_instr, reg_csr, reg_imm16_shift2_signextend, reg_imm16_signextend, reg_imm16_zeroextend, reg_imm5, reserved, RzAsmLm32Imm16SignBitPos, RzAsmLm32Imm26SignBitPos, RzAsmLm32OpcodeList, RzAsmLm32OpcodeNumber, shift_and_signextend(), rz_asm_lm32_instruction::src0_reg, rz_asm_lm32_instruction::src1_reg, three_regs, two_regs, rz_asm_lm32_opcode::type, and rz_asm_lm32_instruction::value.
Referenced by disassemble().
|
static |
Definition at line 354 of file asm_lm32.c.
References rz_asm_lm32_instruction::addr, csr_reg, rz_asm_lm32_instruction::csr_reg_str, rz_asm_lm32_instruction::dest_reg_str, imm26, rz_asm_lm32_instruction::immediate, rz_asm_lm32_opcode::name, one_reg, rz_asm_lm32_instruction::op_decode, print_pseudo_instruction(), rz_asm_lm32_instruction::pseudoInstruction, reg_csr, reg_imm16_shift2_signextend, reg_imm16_signextend, reg_imm16_zeroextend, reg_imm5, sprintf, rz_asm_lm32_instruction::src0_reg_str, rz_asm_lm32_instruction::src1_reg_str, cmd_descs_generate::str, three_regs, two_regs, rz_asm_lm32_opcode::type, and write_reg_names_to_struct().
Referenced by disassemble().
Definition at line 98 of file asm_lm32.c.
References shift(), autogen_x86imm::tmp, and val.
Referenced by rz_asm_lm32_decode().
|
static |
Definition at line 250 of file asm_lm32.c.
References rz_asm_lm32_instruction::csr, csr_number_to_string(), csr_reg, rz_asm_lm32_instruction::csr_reg_str, rz_asm_lm32_instruction::dest_reg, rz_asm_lm32_instruction::dest_reg_str, imm26, one_reg, rz_asm_lm32_instruction::op_decode, raise_instr, reg_csr, reg_imm16_shift2_signextend, reg_imm16_signextend, reg_imm16_zeroextend, reg_imm5, reg_number_to_string(), rz_asm_lm32_instruction::src0_reg, rz_asm_lm32_instruction::src0_reg_str, rz_asm_lm32_instruction::src1_reg, rz_asm_lm32_instruction::src1_reg_str, three_regs, two_regs, and rz_asm_lm32_opcode::type.
Referenced by rz_asm_lm32_stringify().
RZ_API RzLibStruct rizin_plugin |
Definition at line 459 of file asm_lm32.c.
RzAsmPlugin rz_asm_plugin_lm32 |
Definition at line 447 of file asm_lm32.c.