From 2d3cf98bc8ac30bc6c3a5aee7f2b93ed5dadbcc6 Mon Sep 17 00:00:00 2001 From: JT Date: Mon, 20 Apr 2015 19:40:41 -0400 Subject: [PATCH 1/2] 2nd Small change to .ADDRSIZE documentation --- doc/ca65.sgml | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/ca65.sgml b/doc/ca65.sgml index 0ff0df0fd..9f802af40 100644 --- a/doc/ca65.sgml +++ b/doc/ca65.sgml @@ -1288,7 +1288,6 @@ either a string or an expression. .macro myLDA foo - .if .ADDRSIZE(foo) = 1 ;do custom command based on zeropage addressing: .byte .A5h, foo From ffa52863b3ad83fbf27b63b829a2196d4acac095 Mon Sep 17 00:00:00 2001 From: JT Date: Tue, 21 Apr 2015 16:09:01 -0400 Subject: [PATCH 2/2] Small changes to coding style and to ca65 documentation for .ADDRSIZE --- doc/ca65.sgml | 30 ++++++++++++++++++------------ src/ca65/expr.c | 6 ++---- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/doc/ca65.sgml b/doc/ca65.sgml index 9f802af40..e3057915d 100644 --- a/doc/ca65.sgml +++ b/doc/ca65.sgml @@ -1278,26 +1278,28 @@ writable. Pseudo functions expect their arguments in parenthesis, and they have a result, either a string or an expression. + .ADDRSIZE