mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-10-24 14:05:42 +00:00
Simplify intermediate 16-bit register usage
This commit is contained in:
1 parent
53e33b9eef
commit
699791f7a4
10 files changed
+110
-57
No files matched your search
+3
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user