Adding the RTI

This commit is contained in:
AnonymusRaccoon
2020-02-12 16:51:13 +01:00
parent 17c0cb8660
commit b1a2222b55
3 changed files with 17 additions and 0 deletions
+2
View File
@@ -203,6 +203,8 @@ namespace ComSquare::CPU
switch (opcode) {
case Instructions::BRK: return 7 + this->BRK();
case Instructions::RTI: return 6 + this->RTI();
case Instructions::ADC_IM: return 2 + this->ADC(this->_getImmediateAddr());
case Instructions::ADC_ABS: return 4 + this->ADC(this->_getAbsoluteAddr());
case Instructions::ADC_ABSl: return 5 + this->ADC(this->_getAbsoluteLongAddr());