aboutsummaryrefslogtreecommitdiffstats
path: root/capstone/bindings/ocaml/systemz.ml
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /capstone/bindings/ocaml/systemz.ml
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'capstone/bindings/ocaml/systemz.ml')
-rw-r--r--capstone/bindings/ocaml/systemz.ml27
1 files changed, 27 insertions, 0 deletions
diff --git a/capstone/bindings/ocaml/systemz.ml b/capstone/bindings/ocaml/systemz.ml
new file mode 100644
index 000000000..755bf5d79
--- /dev/null
+++ b/capstone/bindings/ocaml/systemz.ml
@@ -0,0 +1,27 @@
+(* Capstone Disassembly Engine
+ * By Guillaume Jeanne <guillaume.jeanne@ensimag.fr>, 2014> *)
+
+open Sysz_const
+
+type sysz_op_mem = {
+ base: int;
+ index: int;
+ length: int64;
+ disp: int64;
+}
+
+type sysz_op_value =
+ | SYSZ_OP_INVALID of int
+ | SYSZ_OP_REG of int
+ | SYSZ_OP_ACREG of int
+ | SYSZ_OP_IMM of int
+ | SYSZ_OP_MEM of sysz_op_mem
+
+type sysz_op = {
+ value: sysz_op_value;
+}
+
+type cs_sysz = {
+ cc: int;
+ operands: sysz_op array;
+}