From 16aec54276edf2b9f4d3f2912a09df2e6b0c3a34 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Wed, 17 Oct 2018 21:27:21 -0400 Subject: [PATCH] ca65.sgml fails to document z: a: f: address size override prefixes. --- doc/ca65.sgml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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

-- 2.39.5