SimRam2/RamExecutor.h
2015-08-09 18:10:27 +02:00

20 lines
323 B
C++

#ifndef RAMEXECUTOR_H
#define RAMEXECUTOR_H
#include "RamInstruction.h"
#include <map>
class RamExecutor {
private:
RamInstruction sourcecode;
std::map<int, int> registers;
int pc;
public:
RamExecutor(RamInstruction code);
int getPC();
void setPC(int newPC);
};
#endif // RAMEXECUTOR_H