Starting to test addressings modes

This commit is contained in:
AnonymusRaccoon
2020-02-10 14:47:25 +01:00
parent fd90957f21
commit a25daa18b6
8 changed files with 49 additions and 16 deletions
-1
View File
@@ -2,7 +2,6 @@
// Created by anonymus-raccoon on 1/29/20.
//
#include <iostream>
#include "IRectangleMemory.hpp"
#include "../Exceptions/InvalidAddress.hpp"
-1
View File
@@ -15,7 +15,6 @@ namespace ComSquare::Memory
{
auto it = std::find_if(this->_memoryAccessors.begin(), this->_memoryAccessors.end(), [addr](std::shared_ptr<IMemory> &accessor)
{
// std::cout << "Accessor: " << std::hex << accessor->getStart() << " Has access:: " << accessor->hasMemoryAt(addr) << std::endl;
return accessor->hasMemoryAt(addr);
});
if (it == this->_memoryAccessors.end())