mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-07-24 21:24:47 +00:00
Share instruction fetch and halt implementations
This commit is contained in:
@@ -92,6 +92,11 @@ namespace EightBit
|
||||
return current;
|
||||
}
|
||||
|
||||
protected virtual byte FetchInstruction()
|
||||
{
|
||||
return this.FetchByte();
|
||||
}
|
||||
|
||||
public void Execute(byte value)
|
||||
{
|
||||
this.OpCode = value;
|
||||
|
Reference in New Issue
Block a user