mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-04-24 02:17:47 +00:00
Share instruction fetch and halt implementations
This commit is contained in:
@@ -54,14 +54,9 @@ namespace Intel8080
|
||||
{
|
||||
this.HandleINT();
|
||||
}
|
||||
else if (this.HALT.Lowered())
|
||||
{
|
||||
_ = this.FetchByte();
|
||||
this.Execute(0); // NOP
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Execute(this.FetchByte());
|
||||
this.Execute(this.FetchInstruction());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user