mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-28 16:43:35 +00:00
Implemnting the STP
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user