1 /* see copyright notice in squirrel.h */
5 #define MAX_FUNC_STACKSIZE 0xFF
6 #define MAX_LITERALS ((SQInteger)0x7FFFFFFF)
19 CMP_GE = 2, //like ADD
45 _OP_LOADROOTTABLE= 0x14,
51 _OP_LOADFREEVAR= 0x1A,
56 _OP_APPENDARRAY= 0x1F,
86 struct SQInstructionDesc {
93 SQInstruction(SQOpcode _op,SQInteger a0=0,SQInteger a1=0,SQInteger a2=0,SQInteger a3=0)
95 _arg0 = (unsigned char)a0;_arg1 = (SQInt32)a1;
96 _arg2 = (unsigned char)a2;_arg3 = (unsigned char)a3;
108 typedef sqvector<SQInstruction> SQInstructionVec;
110 #define NEW_SLOT_ATTRIBUTES_FLAG 0x01
111 #define NEW_SLOT_STATIC_FLAG 0x02
113 #endif // _SQOPCODES_H_