| 1 | /* Capstone Disassembly Engine */cxx . . $ `<file>/arch/TMS320C64x/TMS320C64xMapping.h`/ |
| 2 | /* TMS320C64x Backend by Fotis Loukos <[email protected]> 2016 */ |
| 3 | |
| 4 | #ifndef CS_TMS320C64X_MAP_H |
| 5 | #define CS_TMS320C64X_MAP_Hcxx . . $ `arch/TMS320C64x/TMS320C64xMapping.h:5:9`! |
| 6 | |
| 7 | #include "capstone/capstone.h"cxx . . $ `<file>/include/capstone/capstone.h`/ |
| 8 | |
| 9 | // return name of regiser in friendly string |
| 10 | const char *TMS320C64x_reg_namecxx . . $ TMS320C64x_reg_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int reg); |
| 11 | |
| 12 | // given internal insn id, return public instruction info |
| 13 | void TMS320C64x_get_insn_idcxx . . $ TMS320C64x_get_insn_id(b32a94ba649bfb5a).(cs_structcxx . . $ cs_struct# *h, cs_insncxx . . $ cs_insn# *insn, unsigned int id); |
| 14 | |
| 15 | const char *TMS320C64x_insn_namecxx . . $ TMS320C64x_insn_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int id); |
| 16 | |
| 17 | const char *TMS320C64x_group_namecxx . . $ TMS320C64x_group_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int id); |
| 18 | |
| 19 | // map internal raw register to 'public' register |
| 20 | tms320c64x_regcxx . . $ tms320c64x_reg# TMS320C64x_map_registercxx . . $ TMS320C64x_map_register(8b09bf56dfd9b886).(unsigned int r); |
| 21 | |
| 22 | // map register name to register ID |
| 23 | tms320c64x_regcxx . . $ tms320c64x_reg# TMS320C64x_reg_idcxx . . $ TMS320C64x_reg_id(1166065ba316beea).(char *name); |
| 24 | |
| 25 | #endif |
| 26 |