mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-10-25 05:02:14 +00:00
Make "Pop" more like "Read". i.e. don't return a result, just use the value placed on the "bus"
This commit is contained in:
1 parent
741feb4342
commit
dfd4d1928f
9 files changed
+40
-27
No files matched your search
@@ -51,8 +51,10 @@ namespace EightBit
|
||||
protected override void PopInto(Register16 into)
|
||||
{
|
||||
//ArgumentNullException.ThrowIfNull(into);
|
||||
into.High = this.Pop();
|
||||
into.Low = this.Pop();
|
||||
this.Pop();
|
||||
into.High = this.Bus.Data;
|
||||
this.Pop();
|
||||
into.Low = this.Bus.Data;
|
||||
}
|
||||
|
||||
protected override void PushShort(Register16 value)
|
||||
|
||||
Reference in new issue
Block a user