From 157ddf2c5bfb86051b7d0eb1acf80ef25540b059 Mon Sep 17 00:00:00 2001 From: mrdudz Date: Wed, 18 Jun 2025 02:41:15 +0200 Subject: [PATCH] codestyle --- src/da65/handler.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/da65/handler.c b/src/da65/handler.c index ee9b6e3c5..8145a6bfc 100644 --- a/src/da65/handler.c +++ b/src/da65/handler.c @@ -736,9 +736,10 @@ void OH_DirectImmediate (const OpcDesc* D) -/* zp */ -/* NOTE: currently is part of the instruction */ void OH_ZeroPageBit (const OpcDesc* D) +/* zp +** NOTE: currently is part of the instruction +*/ { unsigned Addr = GetCodeByte (PC+1); @@ -751,18 +752,20 @@ void OH_ZeroPageBit (const OpcDesc* D) -/* A */ -/* NOTE: currently is part of the instruction */ void OH_AccumulatorBit (const OpcDesc* D) +/* A +** NOTE: currently is part of the instruction +*/ { /* Output the line */ OneLine (D, "a"); } -/* A, rel */ -/* NOTE: currently is part of the instruction */ void OH_AccumulatorBitBranch (const OpcDesc* D) +/* A, rel +** NOTE: currently is part of the instruction +*/ { signed char BranchOffs = GetCodeByte (PC+1); @@ -788,8 +791,8 @@ void OH_JmpDirectIndirect (const OpcDesc* D) } - void OH_SpecialPage (const OpcDesc* D) +/* m740 "special page" address mode */ { /* Get the operand */ unsigned Addr = 0xFF00 + GetCodeByte (PC+1); @@ -797,7 +800,6 @@ void OH_SpecialPage (const OpcDesc* D) /* Generate a label in pass 1 */ GenerateLabel (D->Flags, Addr); - /* OneLine (D, "$FF%02X", (CodeByte (PC+1)); */ OneLine (D, "%s", GetAddrArg (D->Flags, Addr)); }