Save a single byte assignment in JSR implementation

This commit is contained in:
Adrian Conlon
2024-07-04 08:49:27 +01:00
parent d80f340081
commit bda4e14819

View File

@@ -1051,8 +1051,8 @@ namespace EightBit
this.Intermediate.Low = this.FetchByte();
this.SwallowPop();
this.PushWord(this.PC);
this.Intermediate.High = this.FetchByte();
this.PC.Assign(this.Intermediate);
this.PC.High = this.FetchByte();
this.PC.Low = this.Intermediate.Low;
}
private void PHP() => this.Push(SetBit(this.P, StatusBits.BF));