#pragma once
#include "asm.h"

#define CLASS TPsuedoOp

enum
{
	P_ORG = 1,
	P_LST,
	P_SAV,
	P_DUM,
	P_DEND,
	P_DS,
	P_PUT,
	P_USE,
	P_HEX,
	P_DATA,
	P_LUP,
	P_DO,

	P_MAX
};

class CLASS
{
public:
	CLASS();
	~CLASS();
	int ProcessOpcode(T65816Asm  &a, MerlinLine &line, TSymbol &opinfo);
	int doLST(T65816Asm &a, MerlinLine &line, TSymbol &opinfo);
	int doDUM(T65816Asm &a, MerlinLine &line, TSymbol &opinfo);
	int doDS(T65816Asm &a, MerlinLine &line, TSymbol &opinfo);
	int doHEX(T65816Asm &a, MerlinLine &line, TSymbol &opinfo);
	int doDATA(T65816Asm &a, MerlinLine &line, TSymbol &opinfo);
	int doLUP(T65816Asm &a, MerlinLine &line, TSymbol &opinfo);
	int doDO(T65816Asm &a, MerlinLine &line, TSymbol &opinfo);;


};

#undef CLASS