Some performance updates

This commit is contained in:
Adrian Conlon
2025-10-13 17:36:32 +01:00
parent ceacac4741
commit 33fce45cc8
3 changed files with 33 additions and 10 deletions

View File

@@ -972,11 +972,11 @@ namespace M6502
private void JSR()
{
this.Intermediate.Low = this.FetchByte();
var low = this.FetchByte();
this.SwallowPop();
this.PushWord(this.PC);
this.PC.High = this.FetchByte();
this.PC.Low = this.Intermediate.Low;
var high = this.FetchByte();
this.PC.Assign(low, high);
}
private void PHP() => this.Push(SetBit(this.P, StatusBits.BF));