An emulator, assembler, and disassembler for the Sega Game Gear
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- /* Copyright (C) 2014-2016 Ben Kurtovic <ben.kurtovic@gmail.com>
- Released under the terms of the MIT License. See LICENSE for details. */
-
- #pragma once
-
- #include <stdbool.h>
- #include <stddef.h>
- #include <stdint.h>
-
- #include "rom.h"
-
- /* Structs */
-
- typedef struct {
- size_t size;
- char *bytestr;
- char *line;
- } DisasInstr;
-
- /* Functions */
-
- void disas_instr_free(DisasInstr*);
-
- DisasInstr* disassemble_instruction(const uint8_t*);
- char** disassemble(const ROM*);
- bool disassemble_file(const char*, const char*);
|