Simplfy access to Z80 registers

This commit is contained in:
Adrian Conlon
2024-07-04 08:47:53 +01:00
parent 1321a909d0
commit d80f340081
4 changed files with 60 additions and 75 deletions

View File

@@ -18,7 +18,7 @@ namespace EightBit
public event EventHandler<EventArgs>? ReadByte;
public byte Data { get => this.data; set => this.data = value; }
public ref byte Data => ref this.data;
public Register16 Address { get; } = new();