6 import com.sun.jna.Structure;
7 import com.sun.jna.Union;
10 import java.util.Arrays;
16 public static class MemType extends Structure {
22 return Arrays.asList(
"base",
"disp");
26 public static class OpValue extends Union {
33 return Arrays.asList(
"reg",
"imm",
"mem");
37 public static class Operand extends Structure {
46 value.setType(Long.TYPE);
48 value.setType(Integer.TYPE);
55 return Arrays.asList(
"type",
"value");
68 readField(
"op_count");
76 return Arrays.asList(
"op_count",
"op");
@ MIPS_OP_REG
= CS_OP_REG (Register operand).
@ MIPS_OP_IMM
= CS_OP_IMM (Immediate operand).
@ MIPS_OP_MEM
= CS_OP_MEM (Memory operand).
@ MIPS_OP_INVALID
= CS_OP_INVALID (Uninitialized).