Changeset 64 in dev for BasicCompiler32/Opcode.h
- Timestamp:
- Mar 8, 2007, 2:49:34 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/Opcode.h
r62 r64 97 97 void ChangeTypeToInteger(int OldType); 98 98 void ChangeTypeToByte(int OldType); 99 void SetVariableFromEax(int VarType,int CalcType,RELATIVE_VAR *pRelativeVar); 99 100 void OpcodeCalc(char *Command); 100 void SetRefVariable( const char *varname, const char *expression );101 101 102 102 //NumOpe.cpp … … 136 136 //Compile_Set_Var.cpp 137 137 BOOL IsUse_ecx(RELATIVE_VAR *pRelativeVar); 138 void SetObjectVariable(LONG_PTR lpVarIndex,int CalcType,LONG_PTR lpCalcIndex,BOOL bUseHeap); 138 void SetStructVariable(LONG_PTR lpVarIndex,int CalcType,LONG_PTR lpCalcIndex,BOOL bUseHeap); 139 void SetRealVariable(int VarType, int CalcType, RELATIVE_VAR *pRelativeVar); 140 void SetWholeVariable(int var_size,int type,RELATIVE_VAR *pRelative); 141 139 142 void SetDoubleVariable(int type,DWORD VarKind,DWORD offset,BOOL bOffsetOffset); 140 143 void SetSingleVariable(int type,DWORD VarKind,DWORD offset,BOOL bOffsetOffset); … … 171 174 172 175 //Compile_Object.cpp 173 int Operator_New(const char *Parameter,LONG_PTR *plpIndex); 174 void OpcodeDelete(char *Parameter); 176 void Operator_New( CClass &classObj, const char *objectSizeStr, const char *parameter, const TYPEINFO &baseTypeInfo ); 177 int Operator_New(const char *Parameter,LONG_PTR *plpIndex,const TYPEINFO &baseTypeInfo ); 178 void OpcodeDelete(const char *Parameter, bool isSweeping); 175 179 176 180 //Compile_Var.cpp … … 183 187 #define DIMFLAG_STATIC 4 184 188 #define DIMFLAG_CONST 8 189 void dim(bool isRef, char *VarName,int *SubScripts,TYPEINFO &TypeInfo,int TypeSize,char *InitBuf,char *ConstractParameter,DWORD dwFlags); 185 190 void OpcodeDim(char *Parameter,DWORD dwFlag); 186 191 void SetVarPtrToEax(RELATIVE_VAR *pRelativeVar); 187 192 188 193 //CParameter.cpp 194 #define OVERLOAD_MIN_LEVEL 0 195 #define OVERLOAD_MAX_LEVEL 3 196 #define OVERLOAD_LEVEL0 0 189 197 #define OVERLOAD_LEVEL1 1 190 198 #define OVERLOAD_LEVEL2 2 … … 216 224 BOOL ErrorCheck(const char *FuncName,PARAMETER_INFO *ppi,int pi_num,int SecondParmNum); 217 225 void MacroParameterSupport(PARAMETER_INFO *ppi); 218 void Set ObjectParameter(CClass *pobj_Class,LPSTR Parameter);226 void SetStructParameter(CClass *pobj_Class,LPSTR Parameter); 219 227 int SetParameter(const char *FuncName,PARAMETER_INFO *ppi,int pi_num,int SecondParmNum); 220 228 221 229 //一時オブジェクトパラメータの生成と破棄 222 voidNewTempParameters( const char *FuncName,PARAMETER_INFO *ppi,int pi_num,int SecondParmNum );230 int NewTempParameters( const char *FuncName,PARAMETER_INFO *ppi,int pi_num,int SecondParmNum ); 223 231 void DeleteTempParameters(); 224 232 }; … … 228 236 #define PROCFLAG_NEW 1 229 237 int Opcode_CallProcPtr(char *variable,char *Parameter,PROCPTRINFO *pi,LONG_PTR *plpIndex); 230 void Opcode_CallProc(c har *Parameter,SUBINFO *psi,DWORD dwFlags,char *ObjectName,int RefType);238 void Opcode_CallProc(const char *Parameter,SUBINFO *psi,DWORD dwFlags,char *ObjectName,int RefType); 231 239 int Opcode_CallDllProc(char *Parameter,DECLAREINFO *pdi,LONG_PTR *plpIndex); 232 240 … … 258 266 void OpcodeGosub(char *Parameter); 259 267 void OpcodeReturn(char *Parameter); 260 void Opcode_Input(c har *Parameter);261 void Opcode_Print(c har *Parameter,BOOL bWrite);268 void Opcode_Input(const char *Parameter); 269 void Opcode_Print(const char *Parameter,BOOL bWrite); 262 270 void OpcodeCallPtr(char *Parameter); 263 271 void OpcodeSetPtrData(char *Parameter,int type); … … 300 308 void op_sbb_RV8 (int reg,char cValue); 301 309 void op_sbb_RR ( int reg1, int reg2 ); 310 void op_imul_RR (int reg1,int reg2); 311 void op_imul_RV (int reg,int i32data); 302 312 void op_and_RV (int reg,int value); 303 313 void op_or_RR ( int op_size, int reg1, int reg2 ); … … 312 322 void op_add_esp(int num); 313 323 void op_sub_esp(int num); 324 void op_cmp_RR( int reg1, int reg2 ); 314 325 void op_cmp_value(int op_size,int reg,char byte_data); 315 326 void op_setne( int reg );
Note:
See TracChangeset
for help on using the changeset viewer.