From 1dfa94daf2980a2b0b90b06110e0902e19980421 Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Mon, 11 May 2026 14:37:54 +0100 Subject: [PATCH] Small tidy ups --- MC6809/MC6809.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/MC6809/MC6809.cs b/MC6809/MC6809.cs index df0506e..9bdc155 100644 --- a/MC6809/MC6809.cs +++ b/MC6809/MC6809.cs @@ -568,10 +568,7 @@ namespace MC6809 protected override void Push(byte value) => this.PushS(value); - private void Push(Register16 stack, byte value) - { - this.MemoryWrite(stack.Decrement(), value); - } + private void Push(Register16 stack, byte value) => this.MemoryWrite(stack.Decrement(), value); private void PushS(byte value) => this.Push(this.S, value); @@ -1792,7 +1789,7 @@ namespace MC6809 this.SwallowEffectiveAddress(); var result = this.Clear(); this.SwallowEffectiveAddress(); - this.MemoryWrite(this.EA, result); + this.MemoryWrite(result); } private byte Clear()