mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-29 06:07:56 +03:00
26 lines
515 B
C
26 lines
515 B
C
![]() |
#ifndef _MIPSASSEMBLERDEFINITIONS_H_
|
||
|
#define _MIPSASSEMBLERDEFINITIONS_H_
|
||
|
|
||
|
#include <boost/tokenizer.hpp>
|
||
|
|
||
|
class CMIPSAssembler;
|
||
|
|
||
|
namespace MipsAssemblerDefinitions
|
||
|
{
|
||
|
struct Instruction
|
||
|
{
|
||
|
Instruction(const char* sMnemonic) :
|
||
|
m_sMnemonic(sMnemonic)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
const char* m_sMnemonic;
|
||
|
virtual void Invoke(boost::tokenizer<>&, boost::tokenizer<>::iterator&, CMIPSAssembler*) = 0;
|
||
|
};
|
||
|
|
||
|
extern Instruction* g_Instructions[];
|
||
|
};
|
||
|
|
||
|
#endif
|