1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00

ca65.sgml fails to document z: a: f: address size override prefixes.

This commit is contained in:
Brad Smith 2018-10-17 21:27:21 -04:00 committed by Oliver Schmidt
parent 5fa79be997
commit 16aec54276

View File

@ -1186,7 +1186,21 @@ an explanation on how this is done.
<sect1>Address sizes of symbols<p>
The address size of a symbol can be specified with a prefix:
<itemize>
<item>z: zeropage addressing (8 bits).
<item>a: absolute addressing (16 bits).
<item>f: far addressing (24 bits).
</itemize>
The zeropage addressing override can be used to ensure the use of optimal
zeropage instructions, or correct cases where the size isn't yet known
due to the single-pass assembly model.
The larger addressing overrides can be used to promote a smaller address
to absolute or far addressing, instead of being automatically fit into
a smaller addressing type.
<sect1>Memory models<p>