ram, instr reel, runtime, etc
This commit is contained in:
29
src/spider/runtime/Runtime.cpp
Normal file
29
src/spider/runtime/Runtime.cpp
Normal file
@@ -0,0 +1,29 @@
|
||||
#include "Runtime.hpp"
|
||||
|
||||
namespace spider {
|
||||
|
||||
// Constructors & Destructors //
|
||||
|
||||
Runtime::Runtime() : ram(0) {}
|
||||
|
||||
Runtime::Runtime(u64 ramSize) : ram(ramSize) {}
|
||||
|
||||
Runtime::~Runtime() {}
|
||||
|
||||
// Stepping/Running the Machine //
|
||||
|
||||
void Runtime::step() {}
|
||||
|
||||
void Runtime::step(u64 n) {}
|
||||
|
||||
void Runtime::run() {}
|
||||
|
||||
void Runtime::run(u64 n) {}
|
||||
|
||||
// Misc //
|
||||
|
||||
void Runtime::resizeRAM(u64 length) {
|
||||
ram.resize(length);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user