Rizin
unix-like reverse engineering framework and cli tools
lm32_isa.h File Reference
#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
 

Enumerations

enum  rz_asm_lm32_instr_type_t {
  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
}
 
enum  rz_asm_lm32_opcode_list_t {
  lm32_op_srui = 0x00 , lm32_op_nori = 0x01 , lm32_op_muli = 0x02 , lm32_op_sh = 0x03 ,
  lm32_op_lb = 0x04 , lm32_op_sri = 0x05 , lm32_op_xori = 0x06 , lm32_op_lh = 0x07 ,
  lm32_op_andi = 0x08 , lm32_op_xnori = 0x09 , lm32_op_lw = 0x0a , lm32_op_lhu = 0x0b ,
  lm32_op_sb = 0x0c , lm32_op_addi = 0x0d , lm32_op_ori = 0x0e , lm32_op_sli = 0x0f ,
  lm32_op_lbu = 0x10 , lm32_op_be = 0x11 , lm32_op_bg = 0x12 , lm32_op_bge = 0x13 ,
  lm32_op_bgeu = 0x14 , lm32_op_bgu = 0x15 , lm32_op_sw = 0x16 , lm32_op_bne = 0x17 ,
  lm32_op_andhi = 0x18 , lm32_op_cmpei = 0x19 , lm32_op_cmpgi = 0x1a , lm32_op_cmpgei = 0x1b ,
  lm32_op_cmpgeui = 0x1c , lm32_op_cmpgui = 0x1d , lm32_op_orhi = 0x1e , lm32_op_cmpnei = 0x1f ,
  lm32_op_sru = 0x20 , lm32_op_nor = 0x21 , lm32_op_mul = 0x22 , lm32_op_divu = 0x23 ,
  lm32_op_rcsr = 0x24 , lm32_op_sr = 0x25 , lm32_op_xor = 0x26 , lm32_op_div = 0x27 ,
  lm32_op_and = 0x28 , lm32_op_xnor = 0x29 , lm32_op_reserved1 = 0x2a , lm32_op_raise = 0x2b ,
  lm32_op_sextb = 0x2c , lm32_op_add = 0x2d , lm32_op_or = 0x2e , lm32_op_sl = 0x2f ,
  lm32_op_b = 0x30 , lm32_op_modu = 0x31 , lm32_op_sub = 0x32 , lm32_op_reserved2 = 0x33 ,
  lm32_op_wcsr = 0x34 , lm32_op_mod = 0x35 , lm32_op_call = 0x36 , lm32_op_sexth = 0x37 ,
  lm32_op_bi = 0x38 , lm32_op_cmpe = 0x39 , lm32_op_cmpg = 0x3a , lm32_op_cmpge = 0x3b ,
  lm32_op_cmpgeu = 0x3c , lm32_op_cmpgu = 0x3d , lm32_op_calli = 0x3e , lm32_op_cmpne = 0x3f
}
 

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)
 

Variables

static const RzAsmLm32Csr RzAsmLm32Csrs [RzAsmLm32CsrNumber]
 
static const RzAsmLm32Reg RzAsmLm32Regs [RzAsmLm32RegNumber]
 
static const RzAsmLm32Opcode RzAsmLm32OpcodeList [RzAsmLm32OpcodeNumber]
 
static const int RzAsmLm32OpShift = 26
 
static const ut32 RzAsmLm32OpMask = 0xfc000000
 
static const int RzAsmLm32RegUShift = 21
 
static const ut32 RzAsmLm32RegUMask = 0x03e00000
 
static const int RzAsmLm32RegVShift = 16
 
static const ut32 RzAsmLm32RegVMask = 0x001f0000
 
static const int RzAsmLm32RegWShift = 11
 
static const ut32 RzAsmLm32RegWMask = 0x0000f800
 
static const ut32 RzAsmLm32Imm5Mask = 0x0000001f
 
static const ut32 RzAsmLm32Imm16Mask = 0x0000ffff
 
static const ut32 RzAsmLm32Imm16SignBitPos = 15
 
static const ut32 RzAsmLm32Imm26Mask = 0x03ffffff
 
static const ut32 RzAsmLm32Imm26SignBitPos = 25
 
static const ut32 RzAsmLm32InstrImm5InvalidBitsMask = 0x0000ffe0
 
static const ut32 RzAsmLm32InstrOneRegInvalidBitsMask = 0x001fffff
 
static const ut32 RzAsmLm32InstrTwoRegsInvalidBitsMask = 0x001f07ff
 
static const ut32 RzAsmLm32InstrWcsrInvalidBitsMask = 0x0000ffff
 

Macro Definition Documentation

◆ RzAsmLm32CsrNumber

#define RzAsmLm32CsrNumber   21

Definition at line 18 of file lm32_isa.h.

◆ RzAsmLm32OpcodeNumber

#define RzAsmLm32OpcodeNumber   0x40

Definition at line 180 of file lm32_isa.h.

◆ RzAsmLm32OpNameLength

#define RzAsmLm32OpNameLength   12

Definition at line 11 of file lm32_isa.h.

◆ RzAsmLm32RegNameLength

#define RzAsmLm32RegNameLength   8

Definition at line 10 of file lm32_isa.h.

◆ RzAsmLm32RegNumber

#define RzAsmLm32RegNumber   39

Definition at line 49 of file lm32_isa.h.

Typedef Documentation

◆ RzAsmLm32Csr

◆ RzAsmLm32Instruction

◆ RzAsmLm32InstructionType

◆ RzAsmLm32Opcode

◆ RzAsmLm32Reg

Enumeration Type Documentation

◆ rz_asm_lm32_instr_type_t

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.

93  {
94  reserved,
98  reg_imm5,
100  one_reg,
101  two_regs,
102  three_regs,
103  reg_csr, // wcsr
104  csr_reg, // rcsr
105  imm26,
@ reg_imm16_signextend
Definition: lm32_isa.h:95
@ reg_imm16_zeroextend
Definition: lm32_isa.h:97
@ two_regs
Definition: lm32_isa.h:101
@ raise_instr
Definition: lm32_isa.h:99
@ csr_reg
Definition: lm32_isa.h:104
@ imm26
Definition: lm32_isa.h:105
@ one_reg
Definition: lm32_isa.h:100
@ reg_imm16_shift2_signextend
Definition: lm32_isa.h:96
@ three_regs
Definition: lm32_isa.h:102
@ reg_imm5
Definition: lm32_isa.h:98
@ reserved
Definition: lm32_isa.h:94
@ reg_csr
Definition: lm32_isa.h:103
enum rz_asm_lm32_instr_type_t RzAsmLm32InstructionType

◆ rz_asm_lm32_opcode_list_t

Enumerator
lm32_op_srui 
lm32_op_nori 
lm32_op_muli 
lm32_op_sh 
lm32_op_lb 
lm32_op_sri 
lm32_op_xori 
lm32_op_lh 
lm32_op_andi 
lm32_op_xnori 
lm32_op_lw 
lm32_op_lhu 
lm32_op_sb 
lm32_op_addi 
lm32_op_ori 
lm32_op_sli 
lm32_op_lbu 
lm32_op_be 
lm32_op_bg 
lm32_op_bge 
lm32_op_bgeu 
lm32_op_bgu 
lm32_op_sw 
lm32_op_bne 
lm32_op_andhi 
lm32_op_cmpei 
lm32_op_cmpgi 
lm32_op_cmpgei 
lm32_op_cmpgeui 
lm32_op_cmpgui 
lm32_op_orhi 
lm32_op_cmpnei 
lm32_op_sru 
lm32_op_nor 
lm32_op_mul 
lm32_op_divu 
lm32_op_rcsr 
lm32_op_sr 
lm32_op_xor 
lm32_op_div 
lm32_op_and 
lm32_op_xnor 
lm32_op_reserved1 
lm32_op_raise 
lm32_op_sextb 
lm32_op_add 
lm32_op_or 
lm32_op_sl 
lm32_op_b 
lm32_op_modu 
lm32_op_sub 
lm32_op_reserved2 
lm32_op_wcsr 
lm32_op_mod 
lm32_op_call 
lm32_op_sexth 
lm32_op_bi 
lm32_op_cmpe 
lm32_op_cmpg 
lm32_op_cmpge 
lm32_op_cmpgeu 
lm32_op_cmpgu 
lm32_op_calli 
lm32_op_cmpne 

Definition at line 108 of file lm32_isa.h.

108  {
109  lm32_op_srui = 0x00,
110  lm32_op_nori = 0x01,
111  lm32_op_muli = 0x02,
112  lm32_op_sh = 0x03,
113  lm32_op_lb = 0x04,
114  lm32_op_sri = 0x05,
115  lm32_op_xori = 0x06,
116  lm32_op_lh = 0x07,
117  lm32_op_andi = 0x08,
118  lm32_op_xnori = 0x09,
119  lm32_op_lw = 0x0a,
120  lm32_op_lhu = 0x0b,
121  lm32_op_sb = 0x0c,
122  lm32_op_addi = 0x0d,
123  lm32_op_ori = 0x0e,
124  lm32_op_sli = 0x0f,
125  lm32_op_lbu = 0x10,
126  lm32_op_be = 0x11,
127  lm32_op_bg = 0x12,
128  lm32_op_bge = 0x13,
129  lm32_op_bgeu = 0x14,
130  lm32_op_bgu = 0x15,
131  lm32_op_sw = 0x16,
132  lm32_op_bne = 0x17,
133  lm32_op_andhi = 0x18,
134  lm32_op_cmpei = 0x19,
135  lm32_op_cmpgi = 0x1a,
136  lm32_op_cmpgei = 0x1b,
137  lm32_op_cmpgeui = 0x1c,
138  lm32_op_cmpgui = 0x1d,
139  lm32_op_orhi = 0x1e,
140  lm32_op_cmpnei = 0x1f,
141  lm32_op_sru = 0x20,
142  lm32_op_nor = 0x21,
143  lm32_op_mul = 0x22,
144  lm32_op_divu = 0x23,
145  lm32_op_rcsr = 0x24,
146  lm32_op_sr = 0x25,
147  lm32_op_xor = 0x26,
148  lm32_op_div = 0x27,
149  lm32_op_and = 0x28,
150  lm32_op_xnor = 0x29,
151  lm32_op_reserved1 = 0x2a,
152  lm32_op_raise = 0x2b,
153  lm32_op_sextb = 0x2c,
154  lm32_op_add = 0x2d,
155  lm32_op_or = 0x2e,
156  lm32_op_sl = 0x2f,
157  lm32_op_b = 0x30,
158  lm32_op_modu = 0x31,
159  lm32_op_sub = 0x32,
160  lm32_op_reserved2 = 0x33,
161  lm32_op_wcsr = 0x34,
162  lm32_op_mod = 0x35,
163  lm32_op_call = 0x36,
164  lm32_op_sexth = 0x37,
165  lm32_op_bi = 0x38,
166  lm32_op_cmpe = 0x39,
167  lm32_op_cmpg = 0x3a,
168  lm32_op_cmpge = 0x3b,
169  lm32_op_cmpgeu = 0x3c,
170  lm32_op_cmpgu = 0x3d,
171  lm32_op_calli = 0x3e,
172  lm32_op_cmpne = 0x3f,
173 };
@ lm32_op_bg
Definition: lm32_isa.h:127
@ lm32_op_lbu
Definition: lm32_isa.h:125
@ lm32_op_add
Definition: lm32_isa.h:154
@ lm32_op_wcsr
Definition: lm32_isa.h:161
@ lm32_op_cmpgeui
Definition: lm32_isa.h:137
@ lm32_op_lhu
Definition: lm32_isa.h:120
@ lm32_op_xori
Definition: lm32_isa.h:115
@ lm32_op_cmpg
Definition: lm32_isa.h:167
@ lm32_op_sextb
Definition: lm32_isa.h:153
@ lm32_op_mod
Definition: lm32_isa.h:162
@ lm32_op_call
Definition: lm32_isa.h:163
@ lm32_op_xnori
Definition: lm32_isa.h:118
@ lm32_op_cmpe
Definition: lm32_isa.h:166
@ lm32_op_calli
Definition: lm32_isa.h:171
@ lm32_op_reserved1
Definition: lm32_isa.h:151
@ lm32_op_mul
Definition: lm32_isa.h:143
@ lm32_op_andhi
Definition: lm32_isa.h:133
@ lm32_op_bgeu
Definition: lm32_isa.h:129
@ lm32_op_sli
Definition: lm32_isa.h:124
@ lm32_op_nor
Definition: lm32_isa.h:142
@ lm32_op_cmpei
Definition: lm32_isa.h:134
@ lm32_op_cmpgui
Definition: lm32_isa.h:138
@ lm32_op_sb
Definition: lm32_isa.h:121
@ lm32_op_sh
Definition: lm32_isa.h:112
@ lm32_op_or
Definition: lm32_isa.h:155
@ lm32_op_bge
Definition: lm32_isa.h:128
@ lm32_op_div
Definition: lm32_isa.h:148
@ lm32_op_and
Definition: lm32_isa.h:149
@ lm32_op_lb
Definition: lm32_isa.h:113
@ lm32_op_sub
Definition: lm32_isa.h:159
@ lm32_op_cmpnei
Definition: lm32_isa.h:140
@ lm32_op_be
Definition: lm32_isa.h:126
@ lm32_op_rcsr
Definition: lm32_isa.h:145
@ lm32_op_cmpgeu
Definition: lm32_isa.h:169
@ lm32_op_bgu
Definition: lm32_isa.h:130
@ lm32_op_modu
Definition: lm32_isa.h:158
@ lm32_op_addi
Definition: lm32_isa.h:122
@ lm32_op_xnor
Definition: lm32_isa.h:150
@ lm32_op_bne
Definition: lm32_isa.h:132
@ lm32_op_sw
Definition: lm32_isa.h:131
@ lm32_op_ori
Definition: lm32_isa.h:123
@ lm32_op_raise
Definition: lm32_isa.h:152
@ lm32_op_xor
Definition: lm32_isa.h:147
@ lm32_op_divu
Definition: lm32_isa.h:144
@ lm32_op_cmpge
Definition: lm32_isa.h:168
@ lm32_op_reserved2
Definition: lm32_isa.h:160
@ lm32_op_sl
Definition: lm32_isa.h:156
@ lm32_op_sr
Definition: lm32_isa.h:146
@ lm32_op_lh
Definition: lm32_isa.h:116
@ lm32_op_bi
Definition: lm32_isa.h:165
@ lm32_op_cmpgi
Definition: lm32_isa.h:135
@ lm32_op_andi
Definition: lm32_isa.h:117
@ lm32_op_cmpgu
Definition: lm32_isa.h:170
@ lm32_op_sri
Definition: lm32_isa.h:114
@ lm32_op_b
Definition: lm32_isa.h:157
@ lm32_op_sexth
Definition: lm32_isa.h:164
@ lm32_op_cmpgei
Definition: lm32_isa.h:136
@ lm32_op_nori
Definition: lm32_isa.h:110
@ lm32_op_lw
Definition: lm32_isa.h:119
@ lm32_op_srui
Definition: lm32_isa.h:109
@ lm32_op_sru
Definition: lm32_isa.h:141
@ lm32_op_orhi
Definition: lm32_isa.h:139
@ lm32_op_muli
Definition: lm32_isa.h:111
@ lm32_op_cmpne
Definition: lm32_isa.h:172

Function Documentation

◆ extract_imm16()

static ut16 extract_imm16 ( ut32  instr_dword)
static

Definition at line 324 of file lm32_isa.h.

324  {
325  return instr_dword & RzAsmLm32Imm16Mask;
326 }
static const ut32 RzAsmLm32Imm16Mask
Definition: lm32_isa.h:292

References RzAsmLm32Imm16Mask.

Referenced by rz_asm_lm32_decode().

◆ extract_imm26()

static ut32 extract_imm26 ( ut32  instr_dword)
static

Definition at line 328 of file lm32_isa.h.

328  {
329  return instr_dword & RzAsmLm32Imm26Mask;
330 }
static const ut32 RzAsmLm32Imm26Mask
Definition: lm32_isa.h:294

References RzAsmLm32Imm26Mask.

Referenced by rz_asm_lm32_decode().

◆ extract_imm5()

static ut8 extract_imm5 ( ut32  instr_dword)
static

Definition at line 320 of file lm32_isa.h.

320  {
321  return instr_dword & RzAsmLm32Imm5Mask;
322 }
static const ut32 RzAsmLm32Imm5Mask
Definition: lm32_isa.h:291

References RzAsmLm32Imm5Mask.

Referenced by rz_asm_lm32_decode().

◆ extract_opcode()

static ut8 extract_opcode ( ut32  instr_dword)
static

Definition at line 304 of file lm32_isa.h.

304  {
305  return (instr_dword & RzAsmLm32OpMask) >> RzAsmLm32OpShift;
306 }
static const int RzAsmLm32OpShift
Definition: lm32_isa.h:283
static const ut32 RzAsmLm32OpMask
Definition: lm32_isa.h:284

References RzAsmLm32OpMask, and RzAsmLm32OpShift.

Referenced by rz_asm_lm32_decode().

◆ extract_reg_u()

static ut8 extract_reg_u ( ut32  instr_dword)
static

Definition at line 308 of file lm32_isa.h.

308  {
309  return (instr_dword & RzAsmLm32RegUMask) >> RzAsmLm32RegUShift;
310 }
static const int RzAsmLm32RegUShift
Definition: lm32_isa.h:285
static const ut32 RzAsmLm32RegUMask
Definition: lm32_isa.h:286

References RzAsmLm32RegUMask, and RzAsmLm32RegUShift.

Referenced by rz_asm_lm32_decode().

◆ extract_reg_v()

static ut8 extract_reg_v ( ut32  instr_dword)
static

Definition at line 312 of file lm32_isa.h.

312  {
313  return (instr_dword & RzAsmLm32RegVMask) >> RzAsmLm32RegVShift;
314 }
static const ut32 RzAsmLm32RegVMask
Definition: lm32_isa.h:288
static const int RzAsmLm32RegVShift
Definition: lm32_isa.h:287

References RzAsmLm32RegVMask, and RzAsmLm32RegVShift.

Referenced by rz_asm_lm32_decode().

◆ extract_reg_w()

static ut8 extract_reg_w ( ut32  instr_dword)
static

Definition at line 316 of file lm32_isa.h.

316  {
317  return (instr_dword & RzAsmLm32RegWMask) >> RzAsmLm32RegWShift;
318 }
static const int RzAsmLm32RegWShift
Definition: lm32_isa.h:289
static const ut32 RzAsmLm32RegWMask
Definition: lm32_isa.h:290

References RzAsmLm32RegWMask, and RzAsmLm32RegWShift.

Referenced by rz_asm_lm32_decode().

Variable Documentation

◆ RzAsmLm32Csrs

const RzAsmLm32Csr RzAsmLm32Csrs[RzAsmLm32CsrNumber]
static
Initial value:
= {
{ 0x00, "IE" },
{ 0x01, "IM" },
{ 0x02, "IP" },
{ 0x03, "ICC" },
{ 0x04, "DCC" },
{ 0x05, "CC" },
{ 0x06, "CFG" },
{ 0x07, "EBA" },
{ 0x08, "DC" },
{ 0x09, "DEBA" },
{ 0x0a, "CFG2" },
{ 0x0e, "JTX" },
{ 0x0f, "JRX" },
{ 0x10, "BP0" },
{ 0x11, "BP1" },
{ 0x12, "BP2" },
{ 0x13, "BP3" },
{ 0x18, "WP0" },
{ 0x19, "WP1" },
{ 0x1a, "WP2" },
{ 0x1b, "WP3" },
}

Definition at line 20 of file lm32_isa.h.

Referenced by csr_number_to_string().

◆ RzAsmLm32Imm16Mask

const ut32 RzAsmLm32Imm16Mask = 0x0000ffff
static

Definition at line 292 of file lm32_isa.h.

Referenced by extract_imm16().

◆ RzAsmLm32Imm16SignBitPos

const ut32 RzAsmLm32Imm16SignBitPos = 15
static

Definition at line 293 of file lm32_isa.h.

Referenced by rz_asm_lm32_decode().

◆ RzAsmLm32Imm26Mask

const ut32 RzAsmLm32Imm26Mask = 0x03ffffff
static

Definition at line 294 of file lm32_isa.h.

Referenced by extract_imm26().

◆ RzAsmLm32Imm26SignBitPos

const ut32 RzAsmLm32Imm26SignBitPos = 25
static

Definition at line 295 of file lm32_isa.h.

Referenced by rz_asm_lm32_decode().

◆ RzAsmLm32Imm5Mask

const ut32 RzAsmLm32Imm5Mask = 0x0000001f
static

Definition at line 291 of file lm32_isa.h.

Referenced by extract_imm5().

◆ RzAsmLm32InstrImm5InvalidBitsMask

const ut32 RzAsmLm32InstrImm5InvalidBitsMask = 0x0000ffe0
static

Definition at line 297 of file lm32_isa.h.

Referenced by is_invalid_imm5_instr().

◆ RzAsmLm32InstrOneRegInvalidBitsMask

const ut32 RzAsmLm32InstrOneRegInvalidBitsMask = 0x001fffff
static

Definition at line 298 of file lm32_isa.h.

Referenced by is_invalid_one_reg_instr().

◆ RzAsmLm32InstrTwoRegsInvalidBitsMask

const ut32 RzAsmLm32InstrTwoRegsInvalidBitsMask = 0x001f07ff
static

Definition at line 299 of file lm32_isa.h.

Referenced by is_invalid_two_reg_instr().

◆ RzAsmLm32InstrWcsrInvalidBitsMask

const ut32 RzAsmLm32InstrWcsrInvalidBitsMask = 0x0000ffff
static

Definition at line 300 of file lm32_isa.h.

Referenced by is_invalid_wcsr_instr().

◆ RzAsmLm32OpcodeList

const RzAsmLm32Opcode RzAsmLm32OpcodeList[RzAsmLm32OpcodeNumber]
static

Definition at line 182 of file lm32_isa.h.

Referenced by rz_asm_lm32_decode().

◆ RzAsmLm32OpMask

const ut32 RzAsmLm32OpMask = 0xfc000000
static

Definition at line 284 of file lm32_isa.h.

Referenced by extract_opcode().

◆ RzAsmLm32OpShift

const int RzAsmLm32OpShift = 26
static

Definition at line 283 of file lm32_isa.h.

Referenced by extract_opcode().

◆ RzAsmLm32Regs

const RzAsmLm32Reg RzAsmLm32Regs[RzAsmLm32RegNumber]
static

Definition at line 51 of file lm32_isa.h.

Referenced by reg_number_to_string().

◆ RzAsmLm32RegUMask

const ut32 RzAsmLm32RegUMask = 0x03e00000
static

Definition at line 286 of file lm32_isa.h.

Referenced by extract_reg_u().

◆ RzAsmLm32RegUShift

const int RzAsmLm32RegUShift = 21
static

Definition at line 285 of file lm32_isa.h.

Referenced by extract_reg_u().

◆ RzAsmLm32RegVMask

const ut32 RzAsmLm32RegVMask = 0x001f0000
static

Definition at line 288 of file lm32_isa.h.

Referenced by extract_reg_v().

◆ RzAsmLm32RegVShift

const int RzAsmLm32RegVShift = 16
static

Definition at line 287 of file lm32_isa.h.

Referenced by extract_reg_v().

◆ RzAsmLm32RegWMask

const ut32 RzAsmLm32RegWMask = 0x0000f800
static

Definition at line 290 of file lm32_isa.h.

Referenced by extract_reg_w().

◆ RzAsmLm32RegWShift

const int RzAsmLm32RegWShift = 11
static

Definition at line 289 of file lm32_isa.h.

Referenced by extract_reg_w().