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 CrxType extends Structure {
33 return Arrays.asList(
"scale",
"reg",
"cond");
37 public static class OpValue extends Union {
44 public static class Operand extends Structure {
55 value.setType(Integer.TYPE);
63 return Arrays.asList(
"type",
"value");
82 readField(
"update_cr0");
83 readField(
"op_count");
91 return Arrays.asList(
"bc",
"bh",
"update_cr0",
"op_count",
"op");
OpInfo(UnionOpInfo op_info)
@ PPC_OP_REG
= CS_OP_REG (Register operand).
@ PPC_OP_IMM
= CS_OP_IMM (Immediate operand).
@ PPC_OP_MEM
= CS_OP_MEM (Memory operand).
@ PPC_OP_CRX
Condition Register field.
@ PPC_OP_INVALID
= CS_OP_INVALID (Uninitialized).