1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00

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
15, 18 and 251 - which is 22590. To protect the user against errors, when the
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>
will disable this warning.
Please note that with alignments that are a power of two (which were the
only alignments possible in older versions of the assembler) will not cause
a warning, because the least common multiple of powers to the same base is
always the larger one.
Please note that with only alignments that are a power of two, a warning will
never occur, because the least common multiple of powers to the same base is
always simply the larger one.