Couple of small Register16 adjustments

This commit is contained in:
Adrian Conlon
2025-05-11 21:30:15 +01:00
parent 36e983526e
commit 8331b4818e
2 changed files with 15 additions and 20 deletions

View File

@@ -311,7 +311,7 @@ namespace EightBit
this.SetWord(value);
}
protected void Jump(ushort destination) => this.PC.Assign(destination);
protected void Jump(ushort destination) => this.PC.Word = destination;
protected void Jump(Register16 destination) => this.PC.Assign(destination);