17 #ifdef CAPSTONE_HAS_SYSZ
25 #include "../../MCInst.h"
26 #include "../../utils.h"
27 #include "../../SStream.h"
28 #include "../../MCRegisterInfo.h"
29 #include "../../MathExtras.h"
32 static const char *getRegisterName(
unsigned RegNo);
56 MI->
flat_insn->detail->sysz.operands[MI->
flat_insn->detail->sysz.op_count].mem.disp = Disp;
95 static void printU1ImmOperand(
MCInst *MI,
int OpNum,
SStream *O)
108 static void printU2ImmOperand(
MCInst *MI,
int OpNum,
SStream *O)
121 static void printU3ImmOperand(
MCInst *MI,
int OpNum,
SStream *O)
134 static void printU4ImmOperand(
MCInst *MI,
int OpNum,
SStream *O)
147 static void printU6ImmOperand(
MCInst *MI,
int OpNum,
SStream *O)
161 static void printS8ImmOperand(
MCInst *MI,
int OpNum,
SStream *O)
185 static void printU8ImmOperand(
MCInst *MI,
int OpNum,
SStream *O)
202 static void printU12ImmOperand(
MCInst *MI,
int OpNum,
SStream *O)
215 static void printS16ImmOperand(
MCInst *MI,
int OpNum,
SStream *O)
239 static void printU16ImmOperand(
MCInst *MI,
int OpNum,
SStream *O)
256 static void printS32ImmOperand(
MCInst *MI,
int OpNum,
SStream *O)
270 static void printU32ImmOperand(
MCInst *MI,
int OpNum,
SStream *O)
284 static void printU48ImmOperand(
MCInst *MI,
int OpNum,
SStream *O)
297 static void printPCRelOperand(
MCInst *MI,
int OpNum,
SStream *O)
315 static void printPCRelTLSOperand(
MCInst *MI,
int OpNum,
SStream *O)
318 printPCRelOperand(MI, OpNum, O);
326 static void printBDAddrOperand(
MCInst *MI,
int OpNum,
SStream *O)
332 static void printBDXAddrOperand(
MCInst *MI,
int OpNum,
SStream *O)
339 static void printBDLAddrOperand(
MCInst *MI,
int OpNum,
SStream *O)
368 static void printBDRAddrOperand(
MCInst *MI,
int OpNum,
SStream *O)
395 static void printBDVAddrOperand(
MCInst *MI,
int OpNum,
SStream *O)
402 static void printCond4Operand(
MCInst *MI,
int OpNum,
SStream *O)
404 static const char *
const CondNames[] = {
405 "o",
"h",
"nle",
"l",
"nhe",
"lh",
"ne",
406 "e",
"nlh",
"he",
"nl",
"le",
"nh",
"no"
417 #define PRINT_ALIAS_INSTR
418 #include "SystemZGenAsmWriter.inc"
422 printInstruction(MI, O, Info);