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

Instruction operand. More...

#include <m680x.h>

Public Attributes

m680x_op_type type
 
union {
   int32_t   imm
 immediate value for IMM operand More...
 
   m680x_reg   reg
 register value for REG operand More...
 
   m680x_op_idx   idx
 Indexed addressing operand. More...
 
   m680x_op_rel   rel
 Relative address. operand (Bcc/LBcc) More...
 
   m680x_op_ext   ext
 Extended address. More...
 
   uint8_t   direct_addr
 </ Direct address (lower 8-bit) More...
 
   uint8_t   const_val
 constant value (bit index, page nr.) More...
 
}; 
 
uint8_t size
 
uint8_t access
 

Detailed Description

Instruction operand.

Definition at line 114 of file m680x.h.

Member Data Documentation

◆ 

union { ... }

◆ access

uint8_t cs_m680x_op::access

How is this operand accessed? (READ, WRITE or READ|WRITE) This field is combined of cs_ac_type. NOTE: this field is irrelevant if engine is compiled in DIET

Definition at line 129 of file m680x.h.

◆ const_val

uint8_t cs_m680x_op::const_val

constant value (bit index, page nr.)

Definition at line 123 of file m680x.h.

◆ direct_addr

uint8_t cs_m680x_op::direct_addr

</ Direct address (lower 8-bit)

Definition at line 122 of file m680x.h.

◆ ext

m680x_op_ext cs_m680x_op::ext

Extended address.

Definition at line 121 of file m680x.h.

◆ idx

m680x_op_idx cs_m680x_op::idx

Indexed addressing operand.

Definition at line 119 of file m680x.h.

◆ imm

int32_t cs_m680x_op::imm

immediate value for IMM operand

Definition at line 117 of file m680x.h.

◆ reg

m680x_reg cs_m680x_op::reg

register value for REG operand

Definition at line 118 of file m680x.h.

◆ rel

m680x_op_rel cs_m680x_op::rel

Relative address. operand (Bcc/LBcc)

Definition at line 120 of file m680x.h.

◆ size

uint8_t cs_m680x_op::size

size of this operand (in bytes)

Definition at line 125 of file m680x.h.

◆ type


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