6 import com.sun.jna.Structure;
7 import com.sun.jna.Union;
10 import java.util.Arrays;
27 return Arrays.asList(
"base_reg",
"offset_reg",
"offset",
"offset_addr",
"offset_bits",
"inc_dec",
"flags");
37 return Arrays.asList(
"address",
"offset");
47 return Arrays.asList(
"address",
"indirect");
51 public static class OpValue extends Union {
62 return Arrays.asList(
"imm",
"reg",
"idx",
"rel",
"ext",
"direct_addr",
"const_val");
66 public static class Operand extends Structure {
75 value.setType(Integer.TYPE);
77 value.setType(Integer.TYPE);
85 value.setType(Integer.TYPE);
95 return Arrays.asList(
"type",
"value",
"size",
"access");
111 readField(
"op_count");
119 return Arrays.asList(
"flags",
"op_count",
"op");
OpInfo(UnionOpInfo op_info)
@ M680X_OP_EXTENDED
= Extended addressing operand.
@ M680X_OP_INDEXED
= Indexed addressing operand.
@ M680X_OP_IMMEDIATE
= Immediate operand.
@ M680X_OP_INVALID
= CS_OP_INVALID (Uninitialized).
@ M680X_OP_REGISTER
= Register operand.
@ M680X_OP_RELATIVE
= Relative addressing operand.
@ M680X_OP_DIRECT
= Direct addressing operand.