// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'RvLERun.pas' rev: 4.00

#ifndef RvLERunHPP
#define RvLERunHPP

#pragma delphiheader begin
#pragma option push -w-
#include <RpDefine.hpp>	// Pascal unit
#include <RvUtil.hpp>	// Pascal unit
#include <RvLEModule.hpp>	// Pascal unit
#include <RvLEUtil.hpp>	// Pascal unit
#include <RvLEDefine.hpp>	// Pascal unit
#include <RvClass.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Rvlerun
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRCPURunner;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TRCPURunner : public System::TObject 
{
	typedef System::TObject inherited;
	
protected:
	int SP;
	int BP;
	Rvlemodule::TRCPUModule* MI;
	int CO;
	void *SS;
	void *DS;
	void *CS;
	int StackSize;
	Shortint CompareFlag;
	void __fastcall Push(int Len);
	void __fastcall PushData(void *Data, int Len);
	void __fastcall PushInteger(int &Data);
	void __fastcall PushNull(int Len);
	void __fastcall Pop(int Len);
	void __fastcall PopData(void *Data, int Len);
	int __fastcall PopInteger(void);
	void __fastcall ReadStack(void *Data, int Offset, int Len);
	void __fastcall WriteStack(void *Data, int Offset, int Len);
	void __fastcall ReadData(void *Data, int Offset, int Len);
	void __fastcall WriteData(void *Data, int Offset, int Len);
	Byte __fastcall GetCodeByte(void);
	int __fastcall GetCodeIndex(void);
	int __fastcall GetCodeAddress(void);
	void * __fastcall PushCodeAddress(void);
	void * __fastcall GetMICOPointer(void);
	void __fastcall NewModule(Rvlemodule::TRCPUModule* AModule);
	
public:
	__fastcall TRCPURunner(void);
	__fastcall virtual ~TRCPURunner(void);
	void __fastcall Execute(Rvlemodule::TRCPUModule* RCPUModule, Classes::TList* Params, System::TObject* 
		&SuspendState);
};

#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE TRCPURunner* RCPURunner;
extern PACKAGE Classes::TStringList* ModuleRegList;

}	/* namespace Rvlerun */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Rvlerun;
#endif
#pragma option pop	// -w-

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// RvLERun
