qasm/psuedo.h

41 lines
733 B
C
Raw Normal View History

#pragma once
#include "asm.h"
#define CLASS TPsuedoOp
enum
{
P_ORG = 1,
P_LST,
P_SAV,
2019-11-12 20:32:10 -08:00
P_DUM,
P_DEND,
P_DS,
2019-11-13 15:45:39 -08:00
P_PUT,
P_USE,
2019-11-14 17:04:35 -08:00
P_HEX,
2019-11-14 23:35:04 -08:00
P_DATA,
2019-11-15 18:30:12 -08:00
P_LUP,
2019-11-16 09:27:24 -08:00
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);
2019-11-12 20:32:10 -08:00
int doDUM(T65816Asm &a, MerlinLine &line, TSymbol &opinfo);
int doDS(T65816Asm &a, MerlinLine &line, TSymbol &opinfo);
2019-11-14 17:04:35 -08:00
int doHEX(T65816Asm &a, MerlinLine &line, TSymbol &opinfo);
2019-11-14 23:35:04 -08:00
int doDATA(T65816Asm &a, MerlinLine &line, TSymbol &opinfo);
2019-11-15 18:30:12 -08:00
int doLUP(T65816Asm &a, MerlinLine &line, TSymbol &opinfo);
2019-11-16 09:27:24 -08:00
int doDO(T65816Asm &a, MerlinLine &line, TSymbol &opinfo);;
2019-11-15 18:30:12 -08:00
};
#undef CLASS