diff --git a/bindings/java/capstone/Ppc_const.java b/bindings/java/capstone/Ppc_const.java index 6275b305..8856c974 100644 --- a/bindings/java/capstone/Ppc_const.java +++ b/bindings/java/capstone/Ppc_const.java @@ -23,14 +23,6 @@ public class Ppc_const { 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; @@ -213,6 +205,14 @@ public class Ppc_const { public static final int PPC_REG_CR1EQ = 177; public static final int PPC_REG_ENDING = 178; + // 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 9171f948..bfbce5f6 100644 --- a/bindings/ocaml/ppc_const.ml +++ b/bindings/ocaml/ppc_const.ml @@ -20,14 +20,6 @@ let _PPC_BH_INVALID = 0;; 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;; @@ -210,6 +202,14 @@ let _PPC_REG_LR8 = 176;; let _PPC_REG_CR1EQ = 177;; let _PPC_REG_ENDING = 178;; +(* 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 b663fe6c..92680024 100644 --- a/bindings/python/capstone/ppc_const.py +++ b/bindings/python/capstone/ppc_const.py @@ -20,14 +20,6 @@ PPC_BH_INVALID = 0 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 @@ -210,6 +202,14 @@ PPC_REG_LR8 = 176 PPC_REG_CR1EQ = 177 PPC_REG_ENDING = 178 +# 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