mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
ca65.sgml fails to document z: a: f: address size override prefixes.
This commit is contained in:
parent
5fa79be997
commit
16aec54276
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user