From b3eedd094149d4b1e1fc2f49d70b9c16d442f7b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hein=20Andre=20Gr=C3=B8nnestad?= Date: Wed, 9 Oct 2019 00:08:50 +0200 Subject: [PATCH] #8 Don't use \t between opcode and operands --- MicroProcessor/Cpu6502/OpCode.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MicroProcessor/Cpu6502/OpCode.cs b/MicroProcessor/Cpu6502/OpCode.cs index ccd2d9b..209ce31 100644 --- a/MicroProcessor/Cpu6502/OpCode.cs +++ b/MicroProcessor/Cpu6502/OpCode.cs @@ -25,7 +25,7 @@ public override string ToString() { public string ToString(bool showComments = false) { var operands = $"{string.Join(" ", Operands.Select(x => $"{x:X2}"))}"; - var s = $"{OpCodeAddress:X4}\t{Code:X2}\t{operands.PadRight(5, ' ')}\t{Name}"; + var s = $"{OpCodeAddress:X4}\t{Code:X2} {operands.PadRight(5, ' ')}\t{Name}"; switch (AddressingMode) { case Enums.AddressingMode.Accumulator: