1 /* Capstone Disassembly Engine */ 2 /* MOS65XX Backend by Sebastian Macke <sebastian@macke.de> 2018 */ 3 4 #ifndef CAPSTONE_MOS65XXDISASSEMBLER_H 5 #define CAPSTONE_MOS65XXDISASSEMBLER_H 6 7 #include "../../utils.h" 8 9 void MOS65XX_printInst(MCInst *MI, struct SStream *O, void *PrinterInfo); 10 11 void MOS65XX_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id); 12 13 const char *MOS65XX_insn_name(csh handle, unsigned int id); 14 15 const char *MOS65XX_group_name(csh handle, unsigned int id); 16 17 const char* MOS65XX_reg_name(csh handle, unsigned int reg); 18 19 bool MOS65XX_getInstruction(csh ud, const uint8_t *code, size_t code_len, 20 MCInst *MI, uint16_t *size, uint64_t address, void *inst_info); 21 22 #endif //CAPSTONE_MOS65XXDISASSEMBLER_H 23