Adding 8-bit Data Transmission Operations and so every instructions are done

Forgot an instruction in _executeInstruction function
This commit is contained in:
Melefo
2020-02-27 14:58:42 +01:00
parent 1c91baf5e0
commit 2ec1090a2b
7 changed files with 220 additions and 6 deletions
+8
View File
@@ -47,6 +47,14 @@ namespace ComSquare::APU
return addr;
}
uint24_t APU::_getDirectAddrByY()
{
uint24_t addr = this->_getDirectAddr();
addr += this->_internalRegisters.y;
return addr;
}
uint24_t APU::_getAbsoluteAddr()
{
uint24_t addr1 = this->_getImmediateData();