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

16 lines
242 B
C++

#include "RamExecutor.h"
RamExecutor::RamExecutor(RamInstruction code) {
this->pc = 0;
this->sourcecode = code;
}
int RamExecutor::getPC() {
return this->pc;
}
void RamExecutor::setPC(int newPC) {
this->pc = newPC;
}