Home | History | Annotate | Download | only in ocaml
      1 (* For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [xcore_const.ml] *)
      2 
      3 (* Operand type for instruction's operands *)
      4 
      5 let _XCORE_OP_INVALID = 0;;
      6 let _XCORE_OP_REG = 1;;
      7 let _XCORE_OP_IMM = 2;;
      8 let _XCORE_OP_MEM = 3;;
      9 
     10 (* XCore registers *)
     11 
     12 let _XCORE_REG_INVALID = 0;;
     13 let _XCORE_REG_CP = 1;;
     14 let _XCORE_REG_DP = 2;;
     15 let _XCORE_REG_LR = 3;;
     16 let _XCORE_REG_SP = 4;;
     17 let _XCORE_REG_R0 = 5;;
     18 let _XCORE_REG_R1 = 6;;
     19 let _XCORE_REG_R2 = 7;;
     20 let _XCORE_REG_R3 = 8;;
     21 let _XCORE_REG_R4 = 9;;
     22 let _XCORE_REG_R5 = 10;;
     23 let _XCORE_REG_R6 = 11;;
     24 let _XCORE_REG_R7 = 12;;
     25 let _XCORE_REG_R8 = 13;;
     26 let _XCORE_REG_R9 = 14;;
     27 let _XCORE_REG_R10 = 15;;
     28 let _XCORE_REG_R11 = 16;;
     29 
     30 (* pseudo registers *)
     31 let _XCORE_REG_PC = 17;;
     32 let _XCORE_REG_SCP = 18;;
     33 let _XCORE_REG_SSR = 19;;
     34 let _XCORE_REG_ET = 20;;
     35 let _XCORE_REG_ED = 21;;
     36 let _XCORE_REG_SED = 22;;
     37 let _XCORE_REG_KEP = 23;;
     38 let _XCORE_REG_KSP = 24;;
     39 let _XCORE_REG_ID = 25;;
     40 let _XCORE_REG_ENDING = 26;;
     41 
     42 (* XCore instruction *)
     43 
     44 let _XCORE_INS_INVALID = 0;;
     45 let _XCORE_INS_ADD = 1;;
     46 let _XCORE_INS_ANDNOT = 2;;
     47 let _XCORE_INS_AND = 3;;
     48 let _XCORE_INS_ASHR = 4;;
     49 let _XCORE_INS_BAU = 5;;
     50 let _XCORE_INS_BITREV = 6;;
     51 let _XCORE_INS_BLA = 7;;
     52 let _XCORE_INS_BLAT = 8;;
     53 let _XCORE_INS_BL = 9;;
     54 let _XCORE_INS_BF = 10;;
     55 let _XCORE_INS_BT = 11;;
     56 let _XCORE_INS_BU = 12;;
     57 let _XCORE_INS_BRU = 13;;
     58 let _XCORE_INS_BYTEREV = 14;;
     59 let _XCORE_INS_CHKCT = 15;;
     60 let _XCORE_INS_CLRE = 16;;
     61 let _XCORE_INS_CLRPT = 17;;
     62 let _XCORE_INS_CLRSR = 18;;
     63 let _XCORE_INS_CLZ = 19;;
     64 let _XCORE_INS_CRC8 = 20;;
     65 let _XCORE_INS_CRC32 = 21;;
     66 let _XCORE_INS_DCALL = 22;;
     67 let _XCORE_INS_DENTSP = 23;;
     68 let _XCORE_INS_DGETREG = 24;;
     69 let _XCORE_INS_DIVS = 25;;
     70 let _XCORE_INS_DIVU = 26;;
     71 let _XCORE_INS_DRESTSP = 27;;
     72 let _XCORE_INS_DRET = 28;;
     73 let _XCORE_INS_ECALLF = 29;;
     74 let _XCORE_INS_ECALLT = 30;;
     75 let _XCORE_INS_EDU = 31;;
     76 let _XCORE_INS_EEF = 32;;
     77 let _XCORE_INS_EET = 33;;
     78 let _XCORE_INS_EEU = 34;;
     79 let _XCORE_INS_ENDIN = 35;;
     80 let _XCORE_INS_ENTSP = 36;;
     81 let _XCORE_INS_EQ = 37;;
     82 let _XCORE_INS_EXTDP = 38;;
     83 let _XCORE_INS_EXTSP = 39;;
     84 let _XCORE_INS_FREER = 40;;
     85 let _XCORE_INS_FREET = 41;;
     86 let _XCORE_INS_GETD = 42;;
     87 let _XCORE_INS_GET = 43;;
     88 let _XCORE_INS_GETN = 44;;
     89 let _XCORE_INS_GETR = 45;;
     90 let _XCORE_INS_GETSR = 46;;
     91 let _XCORE_INS_GETST = 47;;
     92 let _XCORE_INS_GETTS = 48;;
     93 let _XCORE_INS_INCT = 49;;
     94 let _XCORE_INS_INIT = 50;;
     95 let _XCORE_INS_INPW = 51;;
     96 let _XCORE_INS_INSHR = 52;;
     97 let _XCORE_INS_INT = 53;;
     98 let _XCORE_INS_IN = 54;;
     99 let _XCORE_INS_KCALL = 55;;
    100 let _XCORE_INS_KENTSP = 56;;
    101 let _XCORE_INS_KRESTSP = 57;;
    102 let _XCORE_INS_KRET = 58;;
    103 let _XCORE_INS_LADD = 59;;
    104 let _XCORE_INS_LD16S = 60;;
    105 let _XCORE_INS_LD8U = 61;;
    106 let _XCORE_INS_LDA16 = 62;;
    107 let _XCORE_INS_LDAP = 63;;
    108 let _XCORE_INS_LDAW = 64;;
    109 let _XCORE_INS_LDC = 65;;
    110 let _XCORE_INS_LDW = 66;;
    111 let _XCORE_INS_LDIVU = 67;;
    112 let _XCORE_INS_LMUL = 68;;
    113 let _XCORE_INS_LSS = 69;;
    114 let _XCORE_INS_LSUB = 70;;
    115 let _XCORE_INS_LSU = 71;;
    116 let _XCORE_INS_MACCS = 72;;
    117 let _XCORE_INS_MACCU = 73;;
    118 let _XCORE_INS_MJOIN = 74;;
    119 let _XCORE_INS_MKMSK = 75;;
    120 let _XCORE_INS_MSYNC = 76;;
    121 let _XCORE_INS_MUL = 77;;
    122 let _XCORE_INS_NEG = 78;;
    123 let _XCORE_INS_NOT = 79;;
    124 let _XCORE_INS_OR = 80;;
    125 let _XCORE_INS_OUTCT = 81;;
    126 let _XCORE_INS_OUTPW = 82;;
    127 let _XCORE_INS_OUTSHR = 83;;
    128 let _XCORE_INS_OUTT = 84;;
    129 let _XCORE_INS_OUT = 85;;
    130 let _XCORE_INS_PEEK = 86;;
    131 let _XCORE_INS_REMS = 87;;
    132 let _XCORE_INS_REMU = 88;;
    133 let _XCORE_INS_RETSP = 89;;
    134 let _XCORE_INS_SETCLK = 90;;
    135 let _XCORE_INS_SET = 91;;
    136 let _XCORE_INS_SETC = 92;;
    137 let _XCORE_INS_SETD = 93;;
    138 let _XCORE_INS_SETEV = 94;;
    139 let _XCORE_INS_SETN = 95;;
    140 let _XCORE_INS_SETPSC = 96;;
    141 let _XCORE_INS_SETPT = 97;;
    142 let _XCORE_INS_SETRDY = 98;;
    143 let _XCORE_INS_SETSR = 99;;
    144 let _XCORE_INS_SETTW = 100;;
    145 let _XCORE_INS_SETV = 101;;
    146 let _XCORE_INS_SEXT = 102;;
    147 let _XCORE_INS_SHL = 103;;
    148 let _XCORE_INS_SHR = 104;;
    149 let _XCORE_INS_SSYNC = 105;;
    150 let _XCORE_INS_ST16 = 106;;
    151 let _XCORE_INS_ST8 = 107;;
    152 let _XCORE_INS_STW = 108;;
    153 let _XCORE_INS_SUB = 109;;
    154 let _XCORE_INS_SYNCR = 110;;
    155 let _XCORE_INS_TESTCT = 111;;
    156 let _XCORE_INS_TESTLCL = 112;;
    157 let _XCORE_INS_TESTWCT = 113;;
    158 let _XCORE_INS_TSETMR = 114;;
    159 let _XCORE_INS_START = 115;;
    160 let _XCORE_INS_WAITEF = 116;;
    161 let _XCORE_INS_WAITET = 117;;
    162 let _XCORE_INS_WAITEU = 118;;
    163 let _XCORE_INS_XOR = 119;;
    164 let _XCORE_INS_ZEXT = 120;;
    165 let _XCORE_INS_ENDING = 121;;
    166 
    167 (* Group of XCore instructions *)
    168 
    169 let _XCORE_GRP_INVALID = 0;;
    170 
    171 (* Generic groups *)
    172 let _XCORE_GRP_JUMP = 1;;
    173 let _XCORE_GRP_ENDING = 2;;
    174