13 #ifdef CAPSTONE_HAS_SYSZ
19 #include "../../cs_priv.h"
20 #include "../../utils.h"
24 #include "../../MCInst.h"
25 #include "../../MCInstrDesc.h"
26 #include "../../MCFixedLenDisassembler.h"
27 #include "../../MCRegisterInfo.h"
28 #include "../../MCDisassembler.h"
29 #include "../../MathExtras.h"
145 return decodeUImmOperand(Inst, Imm);
151 return decodeUImmOperand(Inst, Imm);
157 return decodeUImmOperand(Inst, Imm);
163 return decodeUImmOperand(Inst, Imm);
169 return decodeUImmOperand(Inst, Imm);
175 return decodeUImmOperand(Inst, Imm);
181 return decodeUImmOperand(Inst, Imm);
187 return decodeUImmOperand(Inst, Imm);
193 return decodeUImmOperand(Inst, Imm);
199 return decodeSImmOperand(Inst, Imm, 8);
205 return decodeSImmOperand(Inst, Imm, 16);
211 return decodeSImmOperand(Inst, Imm, 32);
226 return decodePCDBLOperand(Inst, Imm,
Address, 12);
233 return decodePCDBLOperand(Inst, Imm,
Address, 16);
240 return decodePCDBLOperand(Inst, Imm,
Address, 24);
247 return decodePCDBLOperand(Inst, Imm,
Address, 32);
254 return decodePCDBLOperand(Inst, Imm,
Address, 32);
258 const unsigned *Regs)
271 const unsigned *Regs)
283 const unsigned *Regs)
298 const unsigned *Regs)
313 const unsigned *Regs)
328 const unsigned *Regs)
343 const unsigned *Regs)
418 #define GET_SUBTARGETINFO_ENUM
419 #include "SystemZGenSubtargetInfo.inc"
420 #include "SystemZGenDisassemblerTables.inc"
431 Table = DecoderTable16;
432 }
else if (*
code < 0xc0) {
434 Table = DecoderTable32;
437 Table = DecoderTable48;
440 if (code_len < *
size)
451 Inst = (Inst << 8) |
code[
I];
456 #define GET_REGINFO_ENUM
457 #define GET_REGINFO_MC_DESC
458 #include "SystemZGenRegisterInfo.inc"
476 SystemZMCRegisterClasses, 21,
480 SystemZSubRegIdxLists, 7,