From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- capstone/bindings/ocaml/mips.ml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 capstone/bindings/ocaml/mips.ml (limited to 'capstone/bindings/ocaml/mips.ml') diff --git a/capstone/bindings/ocaml/mips.ml b/capstone/bindings/ocaml/mips.ml new file mode 100644 index 000000000..f0995e352 --- /dev/null +++ b/capstone/bindings/ocaml/mips.ml @@ -0,0 +1,24 @@ +(* Capstone Disassembly Engine + * By Nguyen Anh Quynh , 2013-2014 *) + +open Mips_const + +(* architecture specific info of instruction *) +type mips_op_mem = { + base: int; + disp: int +} + +type mips_op_value = + | MIPS_OP_INVALID of int + | MIPS_OP_REG of int + | MIPS_OP_IMM of int + | MIPS_OP_MEM of mips_op_mem + +type mips_op = { + value: mips_op_value; +} + +type cs_mips = { + operands: mips_op array; +} -- cgit