2019-04-06 17:38:14 -04:00
|
|
|
#pragma once
|
|
|
|
#include "stdafx.h"
|
|
|
|
|
|
|
|
class DisassemblyInfo;
|
2019-04-07 17:57:30 -04:00
|
|
|
class Console;
|
2019-04-28 22:19:52 -04:00
|
|
|
class LabelManager;
|
2019-04-07 17:57:30 -04:00
|
|
|
struct SpcState;
|
2019-04-06 17:38:14 -04:00
|
|
|
|
|
|
|
class SpcDisUtils
|
|
|
|
{
|
|
|
|
public:
|
2020-01-20 23:24:59 -05:00
|
|
|
static bool UseAltSpcOpNames;
|
|
|
|
|
2019-04-28 22:19:52 -04:00
|
|
|
static void GetDisassembly(DisassemblyInfo &info, string &out, uint32_t memoryAddr, LabelManager* labelManager);
|
2019-04-07 17:57:30 -04:00
|
|
|
static int32_t GetEffectiveAddress(DisassemblyInfo &info, Console *console, SpcState &state);
|
2019-04-06 17:38:14 -04:00
|
|
|
static uint8_t GetOpSize(uint8_t opCode);
|
|
|
|
};
|