Classes | Macros | Functions | Variables
test_mos65xx.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <capstone/platform.h>
#include <capstone/capstone.h>
Include dependency graph for test_mos65xx.c:

Go to the source code of this file.

Classes

struct  platform
 

Macros

#define MOS65XX_CODE   "\x0d\x34\x12\x00\x81\x87\x6c\x01\x00\x85\xFF\x10\x00\x19\x42\x42\x00\x49\x42"
 

Functions

static const char * get_am_name (mos65xx_address_mode mode)
 
int main ()
 
static void print_insn_detail (cs_insn *ins)
 
static void print_string_hex (const char *comment, unsigned char *str, size_t len)
 
static void test ()
 

Variables

static csh handle
 

Macro Definition Documentation

◆ MOS65XX_CODE

#define MOS65XX_CODE   "\x0d\x34\x12\x00\x81\x87\x6c\x01\x00\x85\xFF\x10\x00\x19\x42\x42\x00\x49\x42"

Function Documentation

◆ get_am_name()

static const char* get_am_name ( mos65xx_address_mode  mode)
static

Definition at line 32 of file test_mos65xx.c.

◆ main()

int main ( )

Definition at line 165 of file test_mos65xx.c.

◆ print_insn_detail()

static void print_insn_detail ( cs_insn *  ins)
static

Definition at line 68 of file test_mos65xx.c.

◆ print_string_hex()

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

Definition at line 20 of file test_mos65xx.c.

◆ test()

static void test ( )
static

Definition at line 104 of file test_mos65xx.c.

Variable Documentation

◆ handle

csh handle
static

Definition at line 18 of file test_mos65xx.c.



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