improve description of large-alignment warning

This commit is contained in:
bbbradsmith
2023-02-21 07:32:38 -05:00
parent 13f1d37403
commit 23cc295b08

View File

@@ -2114,14 +2114,13 @@ Here's a list of all control commands and a description, what they do:
the assembler will force a segment alignment to the least common multiple of the assembler will force a segment alignment to the least common multiple of
15, 18 and 251 - which is 22590. To protect the user against errors, when the 15, 18 and 251 - which is 22590. To protect the user against errors, when the
combined alignment is larger than the explicitly requested alignments, combined alignment is larger than the explicitly requested alignments,
and also exceeds 256, the assembler will issue a warning. The command line the assembler will issue a warning if it also exceeds 256. The command line
option <tt><ref id="option--large-alignment" name="--large-alignment"></tt> option <tt><ref id="option--large-alignment" name="--large-alignment"></tt>
will disable this warning. will disable this warning.
Please note that with alignments that are a power of two (which were the Please note that with only alignments that are a power of two, a warning will
only alignments possible in older versions of the assembler) will not cause never occur, because the least common multiple of powers to the same base is
a warning, because the least common multiple of powers to the same base is always simply the larger one.
always the larger one.