Remove a couple of pointless "Word"isms

This commit is contained in:
Adrian Conlon
2025-05-08 19:46:43 +01:00
parent d92926c15b
commit 19c18445d6

View File

@@ -756,7 +756,7 @@ namespace Intel8080
private void XHTL(Register16 exchange)
{
this.MEMPTR.Low = this.MemoryRead(this.SP.Word);
this.MEMPTR.Low = this.MemoryRead(this.SP);
++this.Bus.Address.Word;
this.MEMPTR.High = this.MemoryRead();
this.MemoryWrite(exchange.High);
@@ -768,7 +768,7 @@ namespace Intel8080
private void WritePort(byte port)
{
this.Bus.Address.Word = new Register16(port, this.A).Word;
this.Bus.Address.Assign(port, this.A);
this.Bus.Data = this.A;
this.WritePort();
}
@@ -777,7 +777,7 @@ namespace Intel8080
private byte ReadPort(byte port)
{
this.Bus.Address.Word = new Register16(port, this.A).Word;
this.Bus.Address.Assign(port, this.A);
return this.ReadPort();
}