Simplify intermediate 16-bit register usage

This commit is contained in:
Adrian Conlon committed 2026-04-16 13:47:24 +01:00
1 parent 53e33b9eef
commit 699791f7a4
10 files changed
+110 -57

No files matched your search

+3 -2
View File
@@ -215,7 +215,8 @@ namespace M6502
this.Push((byte)(this.P | (source == InterruptSource.hardware ? 0 : (byte)StatusBits.BF)));
}
this.SetFlag(StatusBits.IF); // Disable IRQ
this.Jump(this.GetWordPaged(0xff, vector));
this.GetWordPaged(0xff, vector);
this.Jump(this.Intermediate);
}
#region Interrupt etc. handlers
@@ -659,7 +660,7 @@ namespace M6502
protected void GetAddressPaged()
{
_ = this.GetWordPaged();
this.GetWordPaged();
this.Bus.Address.Assign(this.Intermediate);
}