Go to the documentation of this file.
17 if (ins->detail == NULL)
20 mips = &(ins->detail->mips);
24 for (
i = 0;
i <
mips->op_count;
i++) {
26 switch((
int)
op->type) {
33 printf(
"\t\toperands[%u].type: IMM = 0x%" PRIx64
"\n",
i,
op->imm);
36 printf(
"\t\toperands[%u].type: MEM\n",
i);
38 printf(
"\t\t\toperands[%u].mem.base: REG = %s\n",
40 if (
op->mem.disp != 0)
41 printf(
"\t\t\toperands[%u].mem.disp: 0x%" PRIx64
"\n",
i,
op->mem.disp);
@ MIPS_OP_REG
= CS_OP_REG (Register operand).
@ MIPS_OP_MEM
= CS_OP_MEM (Memory operand).
_Use_decl_annotations_ int __cdecl printf(const char *_Format,...)
const CAPSTONE_EXPORT char *CAPSTONE_API cs_reg_name(csh ud, unsigned int reg)
@ MIPS_OP_IMM
= CS_OP_IMM (Immediate operand).
grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:08