Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_types.h>
Go to the source code of this file.
Classes | |
struct | rz_asm_lm32_csr_t |
struct | rz_asm_lm32_reg_t |
struct | rz_asm_lm32_opcode |
struct | rz_asm_lm32_instruction |
Macros | |
#define | RzAsmLm32RegNameLength 8 |
#define | RzAsmLm32OpNameLength 12 |
#define | RzAsmLm32CsrNumber 21 |
#define | RzAsmLm32RegNumber 39 |
#define | RzAsmLm32OpcodeNumber 0x40 |
Typedefs | |
typedef struct rz_asm_lm32_csr_t | RzAsmLm32Csr |
typedef struct rz_asm_lm32_reg_t | RzAsmLm32Reg |
typedef enum rz_asm_lm32_instr_type_t | RzAsmLm32InstructionType |
typedef struct rz_asm_lm32_opcode | RzAsmLm32Opcode |
typedef struct rz_asm_lm32_instruction | RzAsmLm32Instruction |
Functions | |
static ut8 | extract_opcode (ut32 instr_dword) |
static ut8 | extract_reg_u (ut32 instr_dword) |
static ut8 | extract_reg_v (ut32 instr_dword) |
static ut8 | extract_reg_w (ut32 instr_dword) |
static ut8 | extract_imm5 (ut32 instr_dword) |
static ut16 | extract_imm16 (ut32 instr_dword) |
static ut32 | extract_imm26 (ut32 instr_dword) |
#define RzAsmLm32CsrNumber 21 |
Definition at line 18 of file lm32_isa.h.
#define RzAsmLm32OpcodeNumber 0x40 |
Definition at line 180 of file lm32_isa.h.
#define RzAsmLm32OpNameLength 12 |
Definition at line 11 of file lm32_isa.h.
#define RzAsmLm32RegNameLength 8 |
Definition at line 10 of file lm32_isa.h.
#define RzAsmLm32RegNumber 39 |
Definition at line 49 of file lm32_isa.h.
typedef struct rz_asm_lm32_csr_t RzAsmLm32Csr |
typedef struct rz_asm_lm32_instruction RzAsmLm32Instruction |
typedef enum rz_asm_lm32_instr_type_t RzAsmLm32InstructionType |
typedef struct rz_asm_lm32_opcode RzAsmLm32Opcode |
typedef struct rz_asm_lm32_reg_t RzAsmLm32Reg |
Enumerator | |
---|---|
reserved | |
reg_imm16_signextend | |
reg_imm16_shift2_signextend | |
reg_imm16_zeroextend | |
reg_imm5 | |
raise_instr | |
one_reg | |
two_regs | |
three_regs | |
reg_csr | |
csr_reg | |
imm26 |
Definition at line 93 of file lm32_isa.h.
Definition at line 108 of file lm32_isa.h.
Definition at line 324 of file lm32_isa.h.
References RzAsmLm32Imm16Mask.
Referenced by rz_asm_lm32_decode().
Definition at line 328 of file lm32_isa.h.
References RzAsmLm32Imm26Mask.
Referenced by rz_asm_lm32_decode().
Definition at line 320 of file lm32_isa.h.
References RzAsmLm32Imm5Mask.
Referenced by rz_asm_lm32_decode().
Definition at line 304 of file lm32_isa.h.
References RzAsmLm32OpMask, and RzAsmLm32OpShift.
Referenced by rz_asm_lm32_decode().
Definition at line 308 of file lm32_isa.h.
References RzAsmLm32RegUMask, and RzAsmLm32RegUShift.
Referenced by rz_asm_lm32_decode().
Definition at line 312 of file lm32_isa.h.
References RzAsmLm32RegVMask, and RzAsmLm32RegVShift.
Referenced by rz_asm_lm32_decode().
Definition at line 316 of file lm32_isa.h.
References RzAsmLm32RegWMask, and RzAsmLm32RegWShift.
Referenced by rz_asm_lm32_decode().
|
static |
Definition at line 20 of file lm32_isa.h.
Referenced by csr_number_to_string().
Definition at line 292 of file lm32_isa.h.
Referenced by extract_imm16().
Definition at line 293 of file lm32_isa.h.
Referenced by rz_asm_lm32_decode().
Definition at line 294 of file lm32_isa.h.
Referenced by extract_imm26().
Definition at line 295 of file lm32_isa.h.
Referenced by rz_asm_lm32_decode().
Definition at line 291 of file lm32_isa.h.
Referenced by extract_imm5().
Definition at line 297 of file lm32_isa.h.
Referenced by is_invalid_imm5_instr().
Definition at line 298 of file lm32_isa.h.
Referenced by is_invalid_one_reg_instr().
Definition at line 299 of file lm32_isa.h.
Referenced by is_invalid_two_reg_instr().
Definition at line 300 of file lm32_isa.h.
Referenced by is_invalid_wcsr_instr().
|
static |
Definition at line 182 of file lm32_isa.h.
Referenced by rz_asm_lm32_decode().
Definition at line 284 of file lm32_isa.h.
Referenced by extract_opcode().
Definition at line 283 of file lm32_isa.h.
Referenced by extract_opcode().
|
static |
Definition at line 51 of file lm32_isa.h.
Referenced by reg_number_to_string().
Definition at line 286 of file lm32_isa.h.
Referenced by extract_reg_u().
Definition at line 285 of file lm32_isa.h.
Referenced by extract_reg_u().
Definition at line 288 of file lm32_isa.h.
Referenced by extract_reg_v().
Definition at line 287 of file lm32_isa.h.
Referenced by extract_reg_v().
Definition at line 290 of file lm32_isa.h.
Referenced by extract_reg_w().
Definition at line 289 of file lm32_isa.h.
Referenced by extract_reg_w().