Implemnting the STP

This commit is contained in:
Anonymus Raccoon
2020-05-13 19:14:53 +02:00
parent 051d1d7596
commit 7fe28a8bcc
4 changed files with 14 additions and 1 deletions
+2
View File
@@ -205,6 +205,8 @@ namespace ComSquare::CPU
{
unsigned cycles = 0;
if (this->_isStopped)
return 0xFF;
for (int i = 0; i < 0xFF; i++)
cycles += this->_executeInstruction(this->readPC());
return cycles;