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

Public Member Functions

void read ()
 
List getFieldOrder ()
 

Public Attributes

int type
 
OpValue value
 

Detailed Description

Definition at line 37 of file Mips.java.

Member Function Documentation

◆ getFieldOrder()

List capstone.Mips.Operand.getFieldOrder ( )
inline

Definition at line 54 of file Mips.java.

54  {
55  return Arrays.asList("type", "value");
56  }

◆ read()

void capstone.Mips.Operand.read ( )
inline

Definition at line 41 of file Mips.java.

41  {
42  super.read();
43  if (type == MIPS_OP_MEM)
44  value.setType(MemType.class);
45  if (type == MIPS_OP_IMM)
46  value.setType(Long.TYPE);
47  if (type == MIPS_OP_REG)
48  value.setType(Integer.TYPE);
49  if (type == MIPS_OP_INVALID)
50  return;
51  readField("value");
52  }
@ MIPS_OP_REG
= CS_OP_REG (Register operand).
Definition: mips.h:24
@ MIPS_OP_IMM
= CS_OP_IMM (Immediate operand).
Definition: mips.h:25
@ MIPS_OP_MEM
= CS_OP_MEM (Memory operand).
Definition: mips.h:26
@ MIPS_OP_INVALID
= CS_OP_INVALID (Uninitialized).
Definition: mips.h:23

References MIPS_OP_IMM, MIPS_OP_INVALID, MIPS_OP_MEM, MIPS_OP_REG, capstone.Mips.Operand.type, and capstone.Mips.Operand.value.

Member Data Documentation

◆ type

◆ value

OpValue capstone.Mips.Operand.value

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