diff --git a/opcodes.cpp b/opcodes.cpp index f1dabc5..3aa2ae0 100644 --- a/opcodes.cpp +++ b/opcodes.cpp @@ -731,7 +731,7 @@ void CLASS::insertOpcodes(void) pushopcode("DB", 0x00, OP_PSUEDO, OPHANDLER(&CLASS::doPSEUDO)); pushopcode("ADR", 0x00, OP_PSUEDO, OPHANDLER(&CLASS::doPSEUDO)); pushopcode("ADRL", 0x00, OP_PSUEDO, OPHANDLER(&CLASS::doPSEUDO)); - pushopcode("HEX", p_HEX, OP_PSUEDO, OPHANDLER(&CLASS::doPSEUDO)); + pushopcode("HEX", P_HEX, OP_PSUEDO, OPHANDLER(&CLASS::doPSEUDO)); pushopcode("DS", 0x00, OP_PSUEDO, OPHANDLER(&CLASS::doPSEUDO)); pushopcode("DO", 0x00, OP_PSUEDO, OPHANDLER(&CLASS::doPSEUDO)); pushopcode("ELSE", 0x00, OP_PSUEDO, OPHANDLER(&CLASS::doPSEUDO)); diff --git a/psuedo.cpp b/psuedo.cpp index 6f2d120..ed180e4 100644 --- a/psuedo.cpp +++ b/psuedo.cpp @@ -198,7 +198,7 @@ int CLASS::ProcessOpcode(T65816Asm &a, MerlinLine &line, TSymbol &opinfo) res = doLST(a, line, opinfo); break; - case p_HEX: + case P_HEX: res = doHEX(a, line, opinfo); break; } diff --git a/psuedo.h b/psuedo.h index 160abb6..99eb226 100644 --- a/psuedo.h +++ b/psuedo.h @@ -13,7 +13,7 @@ enum P_DS, P_PUT, P_USE, - p_HEX, + P_HEX, P_MAX };