Debian Codegraph @

arch/M680X/M680XDisassemblerInternals.h

raw symbols SCIP
1 /* Capstone Disassembly Engine */cxx . . $ `<file>/arch/M680X/M680XDisassemblerInternals.h`/
2 /* M680X Backend by Wolfgang Schwotzer <[email protected]> 2017 */
3
4 #ifndef CS_M680XDISASSEMBLERINTERNALS_H
5 #define CS_M680XDISASSEMBLERINTERNALS_Hcxx . . $ `arch/M680X/M680XDisassemblerInternals.h:5:9`!
6
7 #include "../../MCInst.h"cxx . . $ `<file>/MCInst.h`/
8 #include "../../include/capstone/m680x.h"cxx . . $ `<file>/include/capstone/m680x.h`/
9
10 typedef enum e_cpu_typecxx . . $ e_cpu_type# {
11 M680X_CPU_TYPE_INVALIDcxx . . $ M680X_CPU_TYPE_INVALID.,
12 M680X_CPU_TYPE_6301cxx . . $ M680X_CPU_TYPE_6301., // M680X Hitachi HD6301,HD6303 mode
13 M680X_CPU_TYPE_6309cxx . . $ M680X_CPU_TYPE_6309., // M680X Hitachi HD6309 mode
14 M680X_CPU_TYPE_6800cxx . . $ M680X_CPU_TYPE_6800., // M680X Motorola 6800,6802 mode
15 M680X_CPU_TYPE_6801cxx . . $ M680X_CPU_TYPE_6801., // M680X Motorola 6801,6803 mode
16 M680X_CPU_TYPE_6805cxx . . $ M680X_CPU_TYPE_6805., // M680X Motorola/Freescale M68HC05 mode
17 M680X_CPU_TYPE_6808cxx . . $ M680X_CPU_TYPE_6808., // M680X Motorola/Freescale M68HC08 mode
18 M680X_CPU_TYPE_6809cxx . . $ M680X_CPU_TYPE_6809., // M680X Motorola 6809 mode
19 M680X_CPU_TYPE_6811cxx . . $ M680X_CPU_TYPE_6811., // M680X Motorola/Freescale M68HC11 mode
20 M680X_CPU_TYPE_CPU12cxx . . $ M680X_CPU_TYPE_CPU12., // M680X Motorola/Freescale CPU12 mode
21 // used on M68HC12/HCS12
22 M680X_CPU_TYPE_HCS08cxx . . $ M680X_CPU_TYPE_HCS08., // M680X Freescale HCS08 mode
23 M680X_CPU_TYPE_ENDINGcxx . . $ M680X_CPU_TYPE_ENDING.,
24 } e_cpu_typecxx . . $ e_cpu_type#;
25
26 struct inst_page1cxx . . $ inst_page1#;
27 struct inst_pageXcxx . . $ inst_pageX#;
28
29 typedef structcxx . . $ $anonymous_type_6931f87904c7bcef_0# {
30 const struct inst_page1cxx . . $ inst_page1# *inst_page1_tablecxx . . $ $anonymous_type_6931f87904c7bcef_0#inst_page1_table.;
31 const struct inst_pageXcxx . . $ inst_pageX# *inst_overlay_tablecxx . . $ $anonymous_type_6931f87904c7bcef_0#inst_overlay_table.[2];
32 size_t overlay_table_sizecxx . . $ $anonymous_type_6931f87904c7bcef_0#overlay_table_size.[2];
33 uint8_tcxx . . $ uint8_t# pageX_prefixcxx . . $ $anonymous_type_6931f87904c7bcef_0#pageX_prefix.[3];
34 const struct inst_pageXcxx . . $ inst_pageX# *inst_pageX_tablecxx . . $ $anonymous_type_6931f87904c7bcef_0#inst_pageX_table.[3];
35 size_t pageX_table_sizecxx . . $ $anonymous_type_6931f87904c7bcef_0#pageX_table_size.[3];
36 const uint8_tcxx . . $ uint8_t# *reg_byte_sizecxx . . $ $anonymous_type_6931f87904c7bcef_0#reg_byte_size.;
37 const boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! *tfr_reg_validcxx . . $ $anonymous_type_6931f87904c7bcef_0#tfr_reg_valid.;
38 m680x_insncxx . . $ m680x_insn# insn_cc_not_modifiedcxx . . $ $anonymous_type_6931f87904c7bcef_0#insn_cc_not_modified.[2];
39 } cpu_tablescxx . . $ cpu_tables#;
40
41 /* Private, For internal use only */
42 typedef struct m680x_infocxx . . $ m680x_info# {
43 const uint8_tcxx . . $ uint8_t# *codecxx . . $ m680x_info#code.; // code buffer
44 uint32_tcxx . . $ uint32_t# sizecxx . . $ m680x_info#size.; // byte size of code
45 uint16_tcxx . . $ uint16_t# offsetcxx . . $ m680x_info#offset.; // address offset of first byte in code buffer
46 e_cpu_typecxx . . $ e_cpu_type# cpu_typecxx . . $ m680x_info#cpu_type.; // The CPU type to be used for disassembling
47 cs_m680xcxx . . $ cs_m680x# m680xcxx . . $ m680x_info#m680x.; // M680X specific properties
48 const cpu_tablescxx . . $ cpu_tables# *cpucxx . . $ m680x_info#cpu.;
49 m680x_insncxx . . $ m680x_insn# insncxx . . $ m680x_info#insn.; // Instruction ID
50 uint8_tcxx . . $ uint8_t# insn_sizecxx . . $ m680x_info#insn_size.; // byte size of instruction
51 } m680x_infocxx . . $ m680x_info#;
52
53 extern cs_errcxx . . $ cs_err# M680X_disassembler_initcxx . . $ M680X_disassembler_init(2c23641276a36c6e).(cs_structcxx . . $ cs_struct# *ud);
54 extern cs_errcxx . . $ cs_err# M680X_instprinter_initcxx . . $ M680X_instprinter_init(2c23641276a36c6e).(cs_structcxx . . $ cs_struct# *ud);
55
56 #endif
57