Functions | Variables
cstool_m68k.c File Reference
#include <stdio.h>
#include <capstone/capstone.h>
Include dependency graph for cstool_m68k.c:

Go to the source code of this file.

Functions

void print_insn_detail_m68k (csh handle, cs_insn *ins)
 
static void print_read_write_regs (cs_detail *detail, csh handle)
 
void print_string_hex (char *comment, unsigned char *str, size_t len)
 

Variables

static const char * s_addressing_modes []
 

Function Documentation

◆ print_insn_detail_m68k()

void print_insn_detail_m68k ( csh  handle,
cs_insn *  ins 
)

Definition at line 61 of file cstool_m68k.c.

◆ print_read_write_regs()

static void print_read_write_regs ( cs_detail *  detail,
csh  handle 
)
static

Definition at line 44 of file cstool_m68k.c.

◆ print_string_hex()

void print_string_hex ( char *  comment,
unsigned char *  str,
size_t  len 
)

Variable Documentation

◆ s_addressing_modes

const char* s_addressing_modes[]
static
Initial value:
= {
"<invalid mode>",
"Register Direct - Data",
"Register Direct - Address",
"Register Indirect - Address",
"Register Indirect - Address with Postincrement",
"Register Indirect - Address with Predecrement",
"Register Indirect - Address with Displacement",
"Address Register Indirect With Index - 8-bit displacement",
"Address Register Indirect With Index - Base displacement",
"Memory indirect - Postindex",
"Memory indirect - Preindex",
"Program Counter Indirect - with Displacement",
"Program Counter Indirect with Index - with 8-Bit Displacement",
"Program Counter Indirect with Index - with Base Displacement",
"Program Counter Memory Indirect - Postindexed",
"Program Counter Memory Indirect - Preindexed",
"Absolute Data Addressing - Short",
"Absolute Data Addressing - Long",
"Immediate value",
}

Definition at line 14 of file cstool_m68k.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:09