📄 jsglobal_h.h
字号:
const ERR ExpNULLErr = 14;
const ERR MissRtErr = 15;
const ERR MissLtErr = 16;
const ERR ExpSyrErr = 17;
const ERR MissEleErr = 18;
const ERR ExcesComErr = 19;
const ERR ExpExcessErr = 20;
const ERR OPadExcessErr = 21;
const ERR LblNameDuplcateErr = 22;
const ERR LbltypeNotmatchErr = 23;
const ERR DataExceedErr = 24;
const ERR DividerIsZeroErr = 25;
const ERR BitAddrOutRangeErr = 26;
const ERR ShiftOutRangeErr = 27;
const ERR ExpNestOuterErr = 28;
const ERR RegisterInExpErr = 29;
const ERR UndefLabelErr = 30;
const ERR LocAddrOutRangeErr = 31;
const ERR LabelNotReadyErr = 32;
const ERR WrongOperandsErr = 33;
// 34;
// 35;
const ERR InstrctSyntaxErr = 36;
const ERR ORGdataCalErr = 37;
const ERR RelativeAddrErr = 38;
const ERR OPNDsyntaxErr = 39;
const ERR CODEDefNullErr = 40;
const ERR DATADefNullErr = 41;
const ERR XDATADefNullErr = 42;
const ERR IDATADefNullErr = 43;
const ERR DATAOutRangeErr = 44;
const ERR ORGdataLessErr = 45;
const ERR BadRelExpErr = 46;
const ERR IllTypExpErr = 47;
const ERR ExpTypNotMatchErr = 48;
const ERR SegNotMatchErr = 49;
const ERR REGOutRangeErr = 50;
const ERR SEGDefNullErr = 51;
const ERR SegRelDefErr = 52;
const ERR NumberDefErr = 53;
const ERR BadNumberErr = 54;
const ERR RSegNameErr = 55;
const ERR NotAbsAddrErr = 56;
const ERR StkOverFlowErr = 57;
const ERR MacroDefNullErr = 58;
const ERR ENDMNotMatchErr = 59;
const ERR MacroDuplicateErr = 60;
const ERR MacroArgvDupErr = 61;
const ERR MacroLocalErr = 62;
const ERR MacroExitmErr = 63;
const ERR MissLocalIDErr = 64;
const ERR IllLBforMroErr = 65;
const ERR LenExcesMroErr = 66;
const ERR MacroLexErr = 67;
const ERR MroDefNestOutErr = 68;
const ERR MroCallNestOutErr = 69;
const ERR LabelNotAllowErr = 70;
const ERR BadExptReptErr = 71;
const ERR ExpeABSdataErr = 72;
const ERR NegDatNotAllowErr = 73;
const ERR LocaltNotAllowErr = 74;
const ERR UsingWrongErr = 75;
const ERR MissFomArguErr = 76;
const ERR MissParasErr = 77;
const ERR ParaMissLtErr = 78;
const ERR ParaMissRtErr = 79;
const ERR ParaMissLRtErr = 80;
const ERR DogCtrlIllErr = 81;
const ERR CtrlConflictErr = 82;
const ERR spFileOpenErr = 83;
const ERR IfElseNestOutErr = 84;
const ERR ENDIFMisplaceErr = 85;
const ERR MissingENDIFErr = 86;
const ERR IFexprErr = 87;
const ERR ELSEMisplaceErr = 88;
const ERR ESIFMisplaceErr = 89;
const ERR ExcvPswWordErr = 90;
const ERR ComNotAllowErr = 91;
const ERR BadOPinExprErr = 92;
const ERR NULnotFloIFErr = 93;
const ERR SingleQuoteErr = 94;
const ERR DoubleQuoteErr = 95;
const ERR UnkPWordErr = 96;
const ERR ERRmsgSum = 96;
//---------------------------------------------------------------------------
const ERR DataBeTrun8Warn = 1;
const ERR DataBeTrun16Warn = 2;
const ERR FileNeedEndWarn = 3;
const ERR DataBeExtentWarn = 4;
const ERR DataBeTrun11Warn = 5;
const ERR LBLTooLongWarn = 6;
const ERR LBLTypNotMatchWarn = 7;
const ERR LBLSegNotMatchWarn = 8;
const ERR ExcesParaMroWarn = 9;
const ERR InsufParaMroWarn = 10;
const ERR DataTakeAsNUMWarn = 11;
const ERR NegTakeAsCplxWarn = 12;
const ERR MissTitleWarn = 13;
const ERR MissDateWarn = 14;
const ERR NumOutRangeWarn = 15;
const ERR SaRsStkRstorWarn = 16;
const ERR IFexprWarn = 17;
const ERR NegContPosWarn = 18;
const ERR WarningNUM = 19;
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
const int8u RefTyp_LOW = 0;
const int8u RefTyp_BYTE = 1;
const int8u RefTyp_REL = 2;
const int8u RefTyp_HIGH = 3;
const int8u RefTyp_WORD = 4;
const int8u RefTyp_INBLK = 5;
const int8u RefTyp_BIT = 6;
const int8u RefTyp_CONV = 7;
//---------------------------------------------------------------------------
const int8u IDBLK_SEG_OPND = 0;
const int8u IDBLK_REL_OPND = 1;
const int8u IDBLK_EXT_OPND = 2;
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// 输入一个号码,输出该号码对应的结构体指针
// action = -1,操作不存在
// action = 0,空操作
// action = 1,把第一操作数d1的字符串换成十六进制数,然后写入本身位置
// action = 2,把第二操作数d2的字符串换成十六进制数,然后写入本身位置
// action = 3,把第三操作数d3的字符串换成十六进制数,然后写入本身位置
// action = 4,把第一操作数d1的字符串换成十六进制数,然后高位写入本身位置,低位写入下一字节
// action = 5,把第二操作数d2的字符串换成十六进制数,然后高位写入本身位置,低位写入下一字节
// action = 11,把第一操作数d1的字符串换成相对偏移,然后写入本身位置
// action = 12,把第二操作数d2的字符串换成相对偏移,然后写入本身位置
// action = 13,把第三操作数d3的字符串换成相对偏移,然后写入本身位置
// action = 10,把机器码opton按照H3 L8修改
//---------------------------------------------------------------------------
const int8u BRef_1 = 1;
const int8u BRef_2 = 2;
const int8u BRef_3 = 3;
const int8u H8L8_1 = 4;
const int8u H8L8_2 = 5;
const int8u JJudge = 9;
const int8u H3L8_0 = 10;
const int8u Wrel_1 = 11;
const int8u Wrel_2 = 12;
const int8u Wrel_3 = 13;
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// 错误信息及警告信息区。
//---------------------------------------------------------------------------
class ErrWarnMsg : public JObject
{ public:
static const char* const warnmsg[WarningNUM+1];
static const char* const errmsg[ERRmsgSum+2];
}; // end ErrWarnMsg
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
#endif
//---------------------------------------------------------------------------
// end JsGlobal_H.h
//---------------------------------------------------------------------------
// Written by JamesyFront. ZLGmcu Dev.Co.Ltd. 2002.
//---------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -