mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-24 21:30:09 +00:00
23 lines
522 B
C++
23 lines
522 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace EightBit {
|
|
class Intel8080;
|
|
|
|
class Disassembler {
|
|
public:
|
|
Disassembler();
|
|
|
|
static std::string state(Intel8080& cpu);
|
|
static std::string disassemble(Intel8080& cpu);
|
|
|
|
static std::string flag(uint8_t value, int flag, const std::string& represents);
|
|
static std::string flags(uint8_t value);
|
|
static std::string hex(uint8_t value);
|
|
static std::string hex(uint16_t value);
|
|
static std::string binary(uint8_t value);
|
|
|
|
static std::string invalid(uint8_t value);
|
|
};
|
|
} |