mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-06 21:27:12 +00:00
Implementing Pull from stack
This commit is contained in:
@@ -289,6 +289,13 @@ namespace ComSquare::CPU
|
||||
case Instructions::PHX: this->PHX(); return 3 + !this->_registers.p.x_b;
|
||||
case Instructions::PHY: this->PHY(); return 3 + !this->_registers.p.x_b;
|
||||
|
||||
case Instructions::PLA: this->PLA(); return 4 + !this->_registers.p.m;
|
||||
case Instructions::PLB: this->PLB(); return 4;
|
||||
case Instructions::PLD: this->PLD(); return 5;
|
||||
case Instructions::PLP: this->PLP(); return 4;
|
||||
case Instructions::PLX: this->PLX(); return 4 + !this->_registers.p.x_b;
|
||||
case Instructions::PLY: this->PLY(); return 4 + !this->_registers.p.x_b;
|
||||
|
||||
case Instructions::JSR_ABS: this->JSR(this->_getAbsoluteAddr()); return 6;
|
||||
case Instructions::JSR_ABSXi: this->JSR(this->_getAbsoluteIndirectIndexedByXAddr()); return 8;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user