File: MOS65XXDisassembler.h

package info (click to toggle)
capstone 5.0.7-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 58,212 kB
  • sloc: ansic: 96,103; cpp: 67,489; cs: 29,510; python: 25,829; pascal: 24,412; java: 15,582; ml: 14,473; makefile: 1,274; sh: 479; ruby: 386
file content (22 lines) | stat: -rw-r--r-- 746 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Capstone Disassembly Engine */
/* MOS65XX Backend by Sebastian Macke <sebastian@macke.de> 2018 */

#ifndef CAPSTONE_MOS65XXDISASSEMBLER_H
#define CAPSTONE_MOS65XXDISASSEMBLER_H

#include "../../utils.h"

void MOS65XX_printInst(MCInst *MI, struct SStream *O, void *PrinterInfo);

void MOS65XX_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);

const char *MOS65XX_insn_name(csh handle, unsigned int id);

const char *MOS65XX_group_name(csh handle, unsigned int id);

const char* MOS65XX_reg_name(csh handle, unsigned int reg);

bool MOS65XX_getInstruction(csh ud, const uint8_t *code, size_t code_len,
                            MCInst *MI, uint16_t *size, uint64_t address, void *inst_info);

#endif //CAPSTONE_MOS65XXDISASSEMBLER_H