Rizin
unix-like reverse engineering framework and cli tools
m680x_op_idx Struct Reference

Instruction's operand referring to indexed addressing. More...

#include <m680x.h>

Public Attributes

m680x_reg base_reg
 irrelevant) More...
 
m680x_reg offset_reg
 irrelevant) More...
 
int16_t offset
 5-,8- or 16-bit offset. See also offset_bits. More...
 
uint16_t offset_addr
 calculated as offset + PC More...
 
uint8_t offset_bits
 offset width in bits for indexed addressing More...
 
int8_t inc_dec
 
uint8_t flags
 8-bit flags (see above) More...
 

Detailed Description

Instruction's operand referring to indexed addressing.

Definition at line 81 of file m680x.h.

Member Data Documentation

◆ base_reg

m680x_reg m680x_op_idx::base_reg

irrelevant)

base register (or M680X_REG_INVALID if

Definition at line 82 of file m680x.h.

◆ flags

uint8_t m680x_op_idx::flags

8-bit flags (see above)

Definition at line 96 of file m680x.h.

Referenced by cmd_descs_generate.Arg::__str__().

◆ inc_dec

int8_t m680x_op_idx::inc_dec

inc. or dec. value: 0: no inc-/decrement 1 .. 8: increment by 1 .. 8 -1 .. -8: decrement by 1 .. 8 if flag M680X_IDX_POST_INC_DEC set it is post inc-/decrement otherwise pre inc-/decrement

Definition at line 90 of file m680x.h.

◆ offset

int16_t m680x_op_idx::offset

5-,8- or 16-bit offset. See also offset_bits.

Definition at line 86 of file m680x.h.

◆ offset_addr

uint16_t m680x_op_idx::offset_addr

calculated as offset + PC

= offset addr. if base_reg == M680X_REG_PC.

Definition at line 87 of file m680x.h.

◆ offset_bits

uint8_t m680x_op_idx::offset_bits

offset width in bits for indexed addressing

Definition at line 89 of file m680x.h.

◆ offset_reg

m680x_reg m680x_op_idx::offset_reg

irrelevant)

offset register (or M680X_REG_INVALID if

Definition at line 84 of file m680x.h.


The documentation for this struct was generated from the following file: