Go to the documentation of this file.
16 if (ins->detail == NULL)
19 sparc = &(ins->detail->sparc);
23 for (
i = 0;
i <
sparc->op_count;
i++) {
25 switch((
int)
op->type) {
32 printf(
"\t\toperands[%u].type: IMM = 0x%" PRIx64
"\n",
i,
op->imm);
35 printf(
"\t\toperands[%u].type: MEM\n",
i);
37 printf(
"\t\t\toperands[%u].mem.base: REG = %s\n",
40 printf(
"\t\t\toperands[%u].mem.index: REG = %s\n",
42 if (
op->mem.disp != 0)
43 printf(
"\t\t\toperands[%u].mem.disp: 0x%x\n",
i,
op->mem.disp);
@ SPARC_OP_IMM
= CS_OP_IMM (Immediate operand).
_Use_decl_annotations_ int __cdecl printf(const char *_Format,...)
const CAPSTONE_EXPORT char *CAPSTONE_API cs_reg_name(csh ud, unsigned int reg)
@ SPARC_OP_REG
= CS_OP_REG (Register operand).
@ SPARC_OP_MEM
= CS_OP_MEM (Memory operand).
grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:08