mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-26 06:53:56 +00:00
Initial Commit
This commit is contained in:
24
thirdparty/capstone/bindings/ocaml/mips.ml
vendored
Normal file
24
thirdparty/capstone/bindings/ocaml/mips.ml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
(* Capstone Disassembly Engine
|
||||
* By Nguyen Anh Quynh <aquynh@gmail.com>, 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;
|
||||
}
|
Reference in New Issue
Block a user