mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-24 07:11:19 +00:00
Implementing an array of instructions with method's pointer for the CPU (it does not work well for now
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user