From 19c18445d6236e5354f48bb0c5553671352ecfaf Mon Sep 17 00:00:00 2001 From: Adrian Conlon <98398945+AdrianConlon@users.noreply.github.com> Date: Thu, 8 May 2025 19:46:43 +0100 Subject: [PATCH] Remove a couple of pointless "Word"isms --- Intel8080/Intel8080.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Intel8080/Intel8080.cs b/Intel8080/Intel8080.cs index 7e5ea1c..7c84e39 100644 --- a/Intel8080/Intel8080.cs +++ b/Intel8080/Intel8080.cs @@ -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(); }