| 1 | #cxx . . $ `<file>/src/Dasm.h`/ifndef DASM_H |
| 2 | #define DASM_Hcxx . . $ `src/Dasm.h:2:9`! |
| 3 | |
| 4 | #include <string> |
| 5 | #include <vector> |
| 6 | #include <stdint.h> |
| 7 | |
| 8 | class SymbolTablecxx . . $ SymbolTable#; |
| 9 | struct MemoryLayoutcxx . . $ MemoryLayout#; |
| 10 | |
| 11 | struct DisasmRowcxx . . $ DisasmRow# { |
| 12 | enum RowTypecxx . . $ DisasmRow#RowType# { INSTRUCTIONcxx . . $ DisasmRow#INSTRUCTION., LABELcxx . . $ DisasmRow#LABEL. }; |
| 13 | |
| 14 | RowTypecxx . . $ DisasmRow#RowType# rowTypecxx . . $ DisasmRow#rowType.; |
| 15 | unsigned short addrcxx . . $ DisasmRow#addr.; |
| 16 | char numBytescxx . . $ DisasmRow#numBytes.; |
| 17 | int infoLinecxx . . $ DisasmRow#infoLine.; |
| 18 | stdcxx . . $ std/::stringcxx . . $ std/string# instrcxx . . $ DisasmRow#instr.; |
| 19 | }; |
| 20 | |
| 21 | static const DisasmRowcxx . . $ DisasmRow# DISABLED_ROWcxx . . $ DISABLED_ROW. = {DisasmRowcxx . . $ DisasmRow#::INSTRUCTIONcxx . . $ DisasmRow#INSTRUCTION., 0, 1, 0, "- "}; |
| 22 | static const int FIRST_INFO_LINEcxx . . $ FIRST_INFO_LINE. = 1; |
| 23 | static const int LAST_INFO_LINEcxx . . $ LAST_INFO_LINE. = -65536; |
| 24 | |
| 25 | using DisasmLinescxx . . $ DisasmLines# = stdcxx . . $ std/::vectorcxx . . $ std/vector#<DisasmRowcxx . . $ DisasmRow#>; |
| 26 | |
| 27 | void dasmcxx . . $ dasm(8eaa81ad2a87061c).(const unsigned char* membuf, uint16_tcxx . . $ uint16_t# startAddr, uint16_tcxx . . $ uint16_t# endAddr, DisasmLinescxx . . $ DisasmLines#& disasm, |
| 28 | MemoryLayoutcxx . . $ MemoryLayout# *memLayout, SymbolTablecxx . . $ SymbolTable# *symTable, int currentPC); |
| 29 | |
| 30 | #endif // DASM_H |