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:
Adrian Conlon committed 2026-05-18 18:24:32 +01:00
1 parent 741feb4342
commit dfd4d1928f
9 files changed
+40 -27

No files matched your search

+4 -2
View File
@@ -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)