mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-21 06:35:10 +00:00
Implemnting PEI
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <utility>
|
||||
#include <iostream>
|
||||
#include "../Exceptions/InvalidAddress.hpp"
|
||||
#include "../Exceptions/InvalidOpcode.hpp"
|
||||
|
||||
namespace ComSquare::CPU
|
||||
{
|
||||
@@ -265,6 +266,7 @@ namespace ComSquare::CPU
|
||||
case AbsoluteIndirectIndexedByX:
|
||||
return this->_getAbsoluteIndirectIndexedByXAddr();
|
||||
}
|
||||
throw InvalidOpcode("Unknown addressing mode for.");
|
||||
}
|
||||
|
||||
unsigned CPU::_executeInstruction(uint8_t opcode)
|
||||
|
||||
Reference in New Issue
Block a user