1 // For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT 2 package capstone; 3 4 public class Xcore_const { 5 6 // Operand type for instruction's operands 7 8 public static final int XCORE_OP_INVALID = 0; 9 public static final int XCORE_OP_REG = 1; 10 public static final int XCORE_OP_IMM = 2; 11 public static final int XCORE_OP_MEM = 3; 12 13 // XCore registers 14 15 public static final int XCORE_REG_INVALID = 0; 16 public static final int XCORE_REG_CP = 1; 17 public static final int XCORE_REG_DP = 2; 18 public static final int XCORE_REG_LR = 3; 19 public static final int XCORE_REG_SP = 4; 20 public static final int XCORE_REG_R0 = 5; 21 public static final int XCORE_REG_R1 = 6; 22 public static final int XCORE_REG_R2 = 7; 23 public static final int XCORE_REG_R3 = 8; 24 public static final int XCORE_REG_R4 = 9; 25 public static final int XCORE_REG_R5 = 10; 26 public static final int XCORE_REG_R6 = 11; 27 public static final int XCORE_REG_R7 = 12; 28 public static final int XCORE_REG_R8 = 13; 29 public static final int XCORE_REG_R9 = 14; 30 public static final int XCORE_REG_R10 = 15; 31 public static final int XCORE_REG_R11 = 16; 32 33 // pseudo registers 34 public static final int XCORE_REG_PC = 17; 35 public static final int XCORE_REG_SCP = 18; 36 public static final int XCORE_REG_SSR = 19; 37 public static final int XCORE_REG_ET = 20; 38 public static final int XCORE_REG_ED = 21; 39 public static final int XCORE_REG_SED = 22; 40 public static final int XCORE_REG_KEP = 23; 41 public static final int XCORE_REG_KSP = 24; 42 public static final int XCORE_REG_ID = 25; 43 public static final int XCORE_REG_ENDING = 26; 44 45 // XCore instruction 46 47 public static final int XCORE_INS_INVALID = 0; 48 public static final int XCORE_INS_ADD = 1; 49 public static final int XCORE_INS_ANDNOT = 2; 50 public static final int XCORE_INS_AND = 3; 51 public static final int XCORE_INS_ASHR = 4; 52 public static final int XCORE_INS_BAU = 5; 53 public static final int XCORE_INS_BITREV = 6; 54 public static final int XCORE_INS_BLA = 7; 55 public static final int XCORE_INS_BLAT = 8; 56 public static final int XCORE_INS_BL = 9; 57 public static final int XCORE_INS_BF = 10; 58 public static final int XCORE_INS_BT = 11; 59 public static final int XCORE_INS_BU = 12; 60 public static final int XCORE_INS_BRU = 13; 61 public static final int XCORE_INS_BYTEREV = 14; 62 public static final int XCORE_INS_CHKCT = 15; 63 public static final int XCORE_INS_CLRE = 16; 64 public static final int XCORE_INS_CLRPT = 17; 65 public static final int XCORE_INS_CLRSR = 18; 66 public static final int XCORE_INS_CLZ = 19; 67 public static final int XCORE_INS_CRC8 = 20; 68 public static final int XCORE_INS_CRC32 = 21; 69 public static final int XCORE_INS_DCALL = 22; 70 public static final int XCORE_INS_DENTSP = 23; 71 public static final int XCORE_INS_DGETREG = 24; 72 public static final int XCORE_INS_DIVS = 25; 73 public static final int XCORE_INS_DIVU = 26; 74 public static final int XCORE_INS_DRESTSP = 27; 75 public static final int XCORE_INS_DRET = 28; 76 public static final int XCORE_INS_ECALLF = 29; 77 public static final int XCORE_INS_ECALLT = 30; 78 public static final int XCORE_INS_EDU = 31; 79 public static final int XCORE_INS_EEF = 32; 80 public static final int XCORE_INS_EET = 33; 81 public static final int XCORE_INS_EEU = 34; 82 public static final int XCORE_INS_ENDIN = 35; 83 public static final int XCORE_INS_ENTSP = 36; 84 public static final int XCORE_INS_EQ = 37; 85 public static final int XCORE_INS_EXTDP = 38; 86 public static final int XCORE_INS_EXTSP = 39; 87 public static final int XCORE_INS_FREER = 40; 88 public static final int XCORE_INS_FREET = 41; 89 public static final int XCORE_INS_GETD = 42; 90 public static final int XCORE_INS_GET = 43; 91 public static final int XCORE_INS_GETN = 44; 92 public static final int XCORE_INS_GETR = 45; 93 public static final int XCORE_INS_GETSR = 46; 94 public static final int XCORE_INS_GETST = 47; 95 public static final int XCORE_INS_GETTS = 48; 96 public static final int XCORE_INS_INCT = 49; 97 public static final int XCORE_INS_INIT = 50; 98 public static final int XCORE_INS_INPW = 51; 99 public static final int XCORE_INS_INSHR = 52; 100 public static final int XCORE_INS_INT = 53; 101 public static final int XCORE_INS_IN = 54; 102 public static final int XCORE_INS_KCALL = 55; 103 public static final int XCORE_INS_KENTSP = 56; 104 public static final int XCORE_INS_KRESTSP = 57; 105 public static final int XCORE_INS_KRET = 58; 106 public static final int XCORE_INS_LADD = 59; 107 public static final int XCORE_INS_LD16S = 60; 108 public static final int XCORE_INS_LD8U = 61; 109 public static final int XCORE_INS_LDA16 = 62; 110 public static final int XCORE_INS_LDAP = 63; 111 public static final int XCORE_INS_LDAW = 64; 112 public static final int XCORE_INS_LDC = 65; 113 public static final int XCORE_INS_LDW = 66; 114 public static final int XCORE_INS_LDIVU = 67; 115 public static final int XCORE_INS_LMUL = 68; 116 public static final int XCORE_INS_LSS = 69; 117 public static final int XCORE_INS_LSUB = 70; 118 public static final int XCORE_INS_LSU = 71; 119 public static final int XCORE_INS_MACCS = 72; 120 public static final int XCORE_INS_MACCU = 73; 121 public static final int XCORE_INS_MJOIN = 74; 122 public static final int XCORE_INS_MKMSK = 75; 123 public static final int XCORE_INS_MSYNC = 76; 124 public static final int XCORE_INS_MUL = 77; 125 public static final int XCORE_INS_NEG = 78; 126 public static final int XCORE_INS_NOT = 79; 127 public static final int XCORE_INS_OR = 80; 128 public static final int XCORE_INS_OUTCT = 81; 129 public static final int XCORE_INS_OUTPW = 82; 130 public static final int XCORE_INS_OUTSHR = 83; 131 public static final int XCORE_INS_OUTT = 84; 132 public static final int XCORE_INS_OUT = 85; 133 public static final int XCORE_INS_PEEK = 86; 134 public static final int XCORE_INS_REMS = 87; 135 public static final int XCORE_INS_REMU = 88; 136 public static final int XCORE_INS_RETSP = 89; 137 public static final int XCORE_INS_SETCLK = 90; 138 public static final int XCORE_INS_SET = 91; 139 public static final int XCORE_INS_SETC = 92; 140 public static final int XCORE_INS_SETD = 93; 141 public static final int XCORE_INS_SETEV = 94; 142 public static final int XCORE_INS_SETN = 95; 143 public static final int XCORE_INS_SETPSC = 96; 144 public static final int XCORE_INS_SETPT = 97; 145 public static final int XCORE_INS_SETRDY = 98; 146 public static final int XCORE_INS_SETSR = 99; 147 public static final int XCORE_INS_SETTW = 100; 148 public static final int XCORE_INS_SETV = 101; 149 public static final int XCORE_INS_SEXT = 102; 150 public static final int XCORE_INS_SHL = 103; 151 public static final int XCORE_INS_SHR = 104; 152 public static final int XCORE_INS_SSYNC = 105; 153 public static final int XCORE_INS_ST16 = 106; 154 public static final int XCORE_INS_ST8 = 107; 155 public static final int XCORE_INS_STW = 108; 156 public static final int XCORE_INS_SUB = 109; 157 public static final int XCORE_INS_SYNCR = 110; 158 public static final int XCORE_INS_TESTCT = 111; 159 public static final int XCORE_INS_TESTLCL = 112; 160 public static final int XCORE_INS_TESTWCT = 113; 161 public static final int XCORE_INS_TSETMR = 114; 162 public static final int XCORE_INS_START = 115; 163 public static final int XCORE_INS_WAITEF = 116; 164 public static final int XCORE_INS_WAITET = 117; 165 public static final int XCORE_INS_WAITEU = 118; 166 public static final int XCORE_INS_XOR = 119; 167 public static final int XCORE_INS_ZEXT = 120; 168 public static final int XCORE_INS_ENDING = 121; 169 170 // Group of XCore instructions 171 172 public static final int XCORE_GRP_INVALID = 0; 173 174 // Generic groups 175 public static final int XCORE_GRP_JUMP = 1; 176 public static final int XCORE_GRP_ENDING = 2; 177 }