From: Brad Smith Date: Thu, 18 Oct 2018 01:27:21 +0000 (-0400) Subject: ca65.sgml fails to document z: a: f: address size override prefixes. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=16aec54276edf2b9f4d3f2912a09df2e6b0c3a34;p=cc65 ca65.sgml fails to document z: a: f: address size override prefixes. --- diff --git a/doc/ca65.sgml b/doc/ca65.sgml index fc32efa61..52e9634ae 100644 --- a/doc/ca65.sgml +++ b/doc/ca65.sgml @@ -1186,7 +1186,21 @@ an explanation on how this is done. Address sizes of symbols

+The address size of a symbol can be specified with a prefix: + +z: zeropage addressing (8 bits). +a: absolute addressing (16 bits). +f: far addressing (24 bits). + + +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. Memory models