blob: ac96afda072556602d1c830ad51a03fa39f63040 [file] [log] [blame]
Daniel Collin2ee675c2015-08-03 18:45:08 +02001/* Capstone Disassembly Engine */
Daniel Collin09e4c3c2015-10-03 10:00:00 +02002/* M68K Backend by Daniel Collin <daniel@collin.com> 2015 */
Daniel Collin2ee675c2015-08-03 18:45:08 +02003
Nguyen Anh Quynh7d5badd2015-10-04 21:45:50 +08004#ifndef CS_M68KINSTPRINTER_H
5#define CS_M68KINSTPRINTER_H
Daniel Collin2ee675c2015-08-03 18:45:08 +02006
tandasat45e5eab2016-05-11 21:48:32 -07007#if !defined(_MSC_VER) || !defined(_KERNEL_MODE)
Daniel Collin2ee675c2015-08-03 18:45:08 +02008#include <stdint.h>
tandasat45e5eab2016-05-11 21:48:32 -07009#endif
Daniel Collin2ee675c2015-08-03 18:45:08 +020010
11#include "capstone/capstone.h"
12#include "../../MCRegisterInfo.h"
13#include "../../MCInst.h"
14
Daniel Colline8a4e982015-10-04 14:22:58 +020015struct SStream;
16
Daniel Collin2ee675c2015-08-03 18:45:08 +020017void M68K_init(MCRegisterInfo *MRI);
18
Daniel Colline8a4e982015-10-04 14:22:58 +020019void M68K_printInst(MCInst* MI, struct SStream* O, void* Info);
Daniel Collin2ee675c2015-08-03 18:45:08 +020020const char* M68K_reg_name(csh handle, unsigned int reg);
21void M68K_get_insn_id(cs_struct* h, cs_insn* insn, unsigned int id);
22const char *M68K_insn_name(csh handle, unsigned int id);
23const char* M68K_group_name(csh handle, unsigned int id);
24void M68K_post_printer(csh handle, cs_insn* flat_insn, char* insn_asm, MCInst* mci);
25
26#endif
27