Rizin
unix-like reverse engineering framework and cli tools
capstone.M680x.Operand Class Reference
Inheritance diagram for capstone.M680x.Operand:

Public Member Functions

void read ()
 
List getFieldOrder ()
 

Public Attributes

int type
 
OpValue value
 
byte size
 
byte access
 

Detailed Description

Definition at line 66 of file M680x.java.

Member Function Documentation

◆ getFieldOrder()

List capstone.M680x.Operand.getFieldOrder ( )
inline

Definition at line 94 of file M680x.java.

94  {
95  return Arrays.asList("type", "value", "size", "access");
96  }

◆ read()

void capstone.M680x.Operand.read ( )
inline

Definition at line 72 of file M680x.java.

72  {
73  readField("type");
74  if (type == M680X_OP_IMMEDIATE)
75  value.setType(Integer.TYPE);
76  if (type == M680X_OP_REGISTER)
77  value.setType(Integer.TYPE);
78  if (type == M680X_OP_INDEXED)
79  value.setType(OpIndexed.class);
80  if (type == M680X_OP_RELATIVE)
81  value.setType(OpRelative.class);
82  if (type == M680X_OP_EXTENDED)
83  value.setType(OpExtended.class);
84  if (type == M680X_OP_DIRECT)
85  value.setType(Integer.TYPE);
86  if (type == M680X_OP_INVALID)
87  return;
88  readField("value");
89  readField("size");
90  readField("access");
91  }
@ M680X_OP_EXTENDED
= Extended addressing operand.
Definition: m680x.h:60
@ M680X_OP_INDEXED
= Indexed addressing operand.
Definition: m680x.h:59
@ M680X_OP_IMMEDIATE
= Immediate operand.
Definition: m680x.h:58
@ M680X_OP_INVALID
= CS_OP_INVALID (Uninitialized).
Definition: m680x.h:56
@ M680X_OP_REGISTER
= Register operand.
Definition: m680x.h:57
@ M680X_OP_RELATIVE
= Relative addressing operand.
Definition: m680x.h:62
@ M680X_OP_DIRECT
= Direct addressing operand.
Definition: m680x.h:61

References M680X_OP_DIRECT, M680X_OP_EXTENDED, M680X_OP_IMMEDIATE, M680X_OP_INDEXED, M680X_OP_INVALID, M680X_OP_REGISTER, M680X_OP_RELATIVE, capstone.M680x.Operand.type, and capstone.M680x.Operand.value.

Member Data Documentation

◆ access

byte capstone.M680x.Operand.access

Definition at line 70 of file M680x.java.

◆ size

byte capstone.M680x.Operand.size

Definition at line 69 of file M680x.java.

◆ type

◆ value

OpValue capstone.M680x.Operand.value

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