qasm/psuedo.h
2019-11-15 18:39:05 -08:00

38 lines
664 B
C++

#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_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);
};
#undef CLASS