mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-18 14:56:38 +00:00
29 lines
467 B
C++
29 lines
467 B
C++
#pragma once
|
|
#include "stdafx.h"
|
|
#include "CPU.h"
|
|
|
|
class DisassemblyInfo
|
|
{
|
|
public:
|
|
static string OPName[256];
|
|
static AddrMode OPMode[256];
|
|
static uint32_t OPSize[256];
|
|
|
|
private:
|
|
string _disassembly;
|
|
uint8_t *_opPointer = nullptr;
|
|
uint32_t _opSize = 0;
|
|
AddrMode _opMode;
|
|
uint32_t _lastAddr = 0;
|
|
|
|
private:
|
|
void Initialize(uint32_t memoryAddr = 0);
|
|
|
|
public:
|
|
DisassemblyInfo(uint8_t* opPointer);
|
|
|
|
string ToString(uint32_t memoryAddr);
|
|
uint32_t GetSize();
|
|
};
|
|
|