bindings: update PPC constants
diff --git a/bindings/java/capstone/Ppc_const.java b/bindings/java/capstone/Ppc_const.java
index ef8359c..91407bc 100644
--- a/bindings/java/capstone/Ppc_const.java
+++ b/bindings/java/capstone/Ppc_const.java
@@ -23,6 +23,14 @@
public static final int PPC_BH_PLUS = 1;
public static final int PPC_BH_MINUS = 2;
+ // Operand type for instruction's operands
+
+ public static final int PPC_OP_INVALID = 0;
+ public static final int PPC_OP_REG = 1;
+ public static final int PPC_OP_IMM = 2;
+ public static final int PPC_OP_MEM = 3;
+ public static final int PPC_OP_CRX = 64;
+
// PPC registers
public static final int PPC_REG_INVALID = 0;
@@ -237,14 +245,6 @@
public static final int PPC_REG_X2 = 209;
public static final int PPC_REG_ENDING = 210;
- // Operand type for instruction's operands
-
- public static final int PPC_OP_INVALID = 0;
- public static final int PPC_OP_REG = 1;
- public static final int PPC_OP_IMM = 2;
- public static final int PPC_OP_MEM = 3;
- public static final int PPC_OP_CRX = 64;
-
// PPC instruction
public static final int PPC_INS_INVALID = 0;
diff --git a/bindings/ocaml/ppc_const.ml b/bindings/ocaml/ppc_const.ml
index da294a2..9dde83c 100644
--- a/bindings/ocaml/ppc_const.ml
+++ b/bindings/ocaml/ppc_const.ml
@@ -20,6 +20,14 @@
let _PPC_BH_PLUS = 1;;
let _PPC_BH_MINUS = 2;;
+(* Operand type for instruction's operands *)
+
+let _PPC_OP_INVALID = 0;;
+let _PPC_OP_REG = 1;;
+let _PPC_OP_IMM = 2;;
+let _PPC_OP_MEM = 3;;
+let _PPC_OP_CRX = 64;;
+
(* PPC registers *)
let _PPC_REG_INVALID = 0;;
@@ -234,14 +242,6 @@
let _PPC_REG_X2 = 209;;
let _PPC_REG_ENDING = 210;;
-(* Operand type for instruction's operands *)
-
-let _PPC_OP_INVALID = 0;;
-let _PPC_OP_REG = 1;;
-let _PPC_OP_IMM = 2;;
-let _PPC_OP_MEM = 3;;
-let _PPC_OP_CRX = 64;;
-
(* PPC instruction *)
let _PPC_INS_INVALID = 0;;
diff --git a/bindings/python/capstone/ppc_const.py b/bindings/python/capstone/ppc_const.py
index 893c588..b42433a 100644
--- a/bindings/python/capstone/ppc_const.py
+++ b/bindings/python/capstone/ppc_const.py
@@ -20,6 +20,14 @@
PPC_BH_PLUS = 1
PPC_BH_MINUS = 2
+# Operand type for instruction's operands
+
+PPC_OP_INVALID = 0
+PPC_OP_REG = 1
+PPC_OP_IMM = 2
+PPC_OP_MEM = 3
+PPC_OP_CRX = 64
+
# PPC registers
PPC_REG_INVALID = 0
@@ -234,14 +242,6 @@
PPC_REG_X2 = 209
PPC_REG_ENDING = 210
-# Operand type for instruction's operands
-
-PPC_OP_INVALID = 0
-PPC_OP_REG = 1
-PPC_OP_IMM = 2
-PPC_OP_MEM = 3
-PPC_OP_CRX = 64
-
# PPC instruction
PPC_INS_INVALID = 0