aboutsummaryrefslogtreecommitdiffstats
path: root/capstone/bindings/ocaml/xcore.ml
blob: ee993c137ff6d50611864dd8308891ff9555e3c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
(* Capstone Disassembly Engine
 * By Guillaume Jeanne <guillaume.jeanne@ensimag.fr>, 2014> *)

open Xcore_const

type xcore_op_mem = {
	base: int;
	index: int;
	disp: int;
	direct: int;
}

type xcore_op_value =
	| XCORE_OP_INVALID of int
	| XCORE_OP_REG of int
	| XCORE_OP_IMM of int
	| XCORE_OP_MEM of xcore_op_mem

type xcore_op = {
	value: xcore_op_value;
}

type cs_xcore = { 
	operands: xcore_op array;
}