diff --git a/src/spider/runtime/memory/RAM.hpp b/src/spider/runtime/memory/RAM.hpp index e69de29..0688ae4 100644 --- a/src/spider/runtime/memory/RAM.hpp +++ b/src/spider/runtime/memory/RAM.hpp @@ -0,0 +1,30 @@ +#pragma once + +#include + +namespace spider { + + /** + * A memory container. + * As a reminder, the amount of RAM + * is designed by the host. + */ + class RAM { + private: + u8* _mem; + + public: + + RAM(u64 length); + + ~RAM(); + + public: + + u8& operator[](u64 i); + + u8 operator[](u64 i) const; + + }; + +} \ No newline at end of file