From 0157ba63d3b124ee508d88ad74f7c68caac6804c Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Wed, 8 Apr 2020 15:08:29 +0200 Subject: [PATCH] Document whitespace before local labels --- src/asm/rgbasm.5 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/asm/rgbasm.5 b/src/asm/rgbasm.5 index 65445142..48ec2191 100644 --- a/src/asm/rgbasm.5 +++ b/src/asm/rgbasm.5 @@ -739,6 +739,8 @@ If the former notation is used, then .Ql scope must be the actual current scope. .Pp +Local labels may have whitespace before their declaration as the only exception to the rule. +.Pp A label's location (and thus value) is usually not determined until the linking stage, so labels usually cannot be used as constants. However, if the section in which the label is declared has a fixed base address, its value is known at assembly time. .Pp