Go to the documentation of this file.
10 "Register Direct - Data",
11 "Register Direct - Address",
13 "Register Indirect - Address",
14 "Register Indirect - Address with Postincrement",
15 "Register Indirect - Address with Predecrement",
16 "Register Indirect - Address with Displacement",
18 "Address Register Indirect With Index - 8-bit displacement",
19 "Address Register Indirect With Index - Base displacement",
21 "Memory indirect - Postindex",
22 "Memory indirect - Preindex",
24 "Program Counter Indirect - with Displacement",
26 "Program Counter Indirect with Index - with 8-Bit Displacement",
27 "Program Counter Indirect with Index - with Base Displacement",
29 "Program Counter Memory Indirect - Postindexed",
30 "Program Counter Memory Indirect - Preindexed",
32 "Absolute Data Addressing - Short",
33 "Absolute Data Addressing - Long",
41 for (
i = 0;
i <
detail->regs_read_count; ++
i) {
47 for (
i = 0;
i <
detail->regs_write_count; ++
i) {
61 result = (
char *)malloc(
sizeof(
char));
64 if (ins->detail == NULL)
77 for (
i = 0;
i <
m68k->op_count;
i++) {
80 switch((
int)
op->type) {
95 add_str(&
result,
" ; operands[%u].mem.index: size = %c",
i,
op->mem.index_size ?
'l' :
'w');
97 if (
op->mem.disp != 0)
99 if (
op->mem.scale != 0)
static const char * s_addressing_modes[]
@ M68K_OP_FP_DOUBLE
double precision Floating-Point operand
@ M68K_OP_FP_SINGLE
single precision Floating-Point operand
char * get_detail_m68k(csh *handle, cs_mode mode, cs_insn *ins)
The M68K instruction and it's operands.
const CAPSTONE_EXPORT char *CAPSTONE_API cs_reg_name(csh ud, unsigned int reg)
void add_str(char **src, const char *format,...)
@ M68K_OP_IMM
= CS_OP_IMM (Immediate operand).
@ M68K_OP_REG
= CS_OP_REG (Register operand).
static void print_read_write_regs(char *result, cs_detail *detail, csh *handle)
@ M68K_OP_MEM
= CS_OP_MEM (Memory operand).
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:17