9 typedef int MEMORY_ADDRESS;
14 * Purpose: Class representing the memory of our emulated machine
20 //MAX_MEMORY-1 zugreifbare Speicherzellen
22 std::vector<T> m_memory;
24 void set(const MEMORY_ADDRESS address, const T& data);
25 T get(const MEMORY_ADDRESS address) const;
26 CMem(int size) : MAX_MEMORY(size), m_memory(size) {};