Implementing an array of instructions with method's pointer for the CPU (it does not work well for now

This commit is contained in:
Anonymus Raccoon
2020-03-26 03:39:55 +01:00
parent 4b9f8002b9
commit bd948b520c
25 changed files with 924 additions and 724 deletions
+5
View File
@@ -7,6 +7,11 @@
namespace ComSquare::CPU
{
uint24_t CPU::_getImmediateAddr8Bits()
{
return this->_registers.pac++;
}
uint24_t CPU::_getImmediateAddrForA()
{
uint24_t effective = this->_registers.pac++;