aboutsummaryrefslogtreecommitdiffstats
path: root/capstone/arch/SystemZ/SystemZMapping.h
blob: 9a6ceb356e9cfbfac948eda94fbeece6b850bd05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Capstone Disassembly Engine */
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 */

#ifndef CS_SYSZ_MAP_H
#define CS_SYSZ_MAP_H

#include "capstone/capstone.h"

// return name of regiser in friendly string
const char *SystemZ_reg_name(csh handle, unsigned int reg);

// given internal insn id, return public instruction info
void SystemZ_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);

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

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

// map internal raw register to 'public' register
sysz_reg SystemZ_map_register(unsigned int r);

#endif