mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-21 14:45:10 +00:00
Implemnting PEI
This commit is contained in:
@@ -193,6 +193,12 @@ namespace ComSquare::CPU
|
||||
return 0;
|
||||
}
|
||||
|
||||
int CPU::PEI(uint24_t value, AddressingMode)
|
||||
{
|
||||
this->_push(static_cast<uint16_t>(value));
|
||||
return 0;
|
||||
}
|
||||
|
||||
int CPU::XCE(uint24_t, AddressingMode)
|
||||
{
|
||||
bool oldCarry = this->_registers.p.c;
|
||||
|
||||
Reference in New Issue
Block a user