Implemnting PEI

This commit is contained in:
Anonymus Raccoon
2020-05-13 18:10:56 +02:00
parent 876b78a5c9
commit fea20fee70
5 changed files with 28 additions and 1 deletions

View File

@@ -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;