Re: [cc65] Forcing absolute adressing mode instead of zeropage?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2005-05-09 14:01:38
On Mon, May 09, 2005 at 10:06:14AM +0200, Spiro Trikaliotis wrote:
> Huh?
>
>    http://www.cc65.org/doc/ca65-6.html#ss6.3

It says: 
       
------------------------------------------------------------------------------
In these cases, you can use one of the address size override operators:

        .scope  outer
                foo     = $12
                .scope  inner
                        lda     a:foo,x
                        foo     = $1234
                .endscope
        .endscope

This will cause the lda instruction to be translated using absolute addressing
mode, which means changing the symbol reference later does not cause any
errors.
------------------------------------------------------------------------------

> Anyway, somehow, I am not very satisfied with the cc65 documentation.

Neither am I. Because of this, I do gladly accept diffs:-)

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon May 9 14:01:55 2005

This archive was generated by hypermail 2.1.8 : 2005-05-09 14:01:57 CEST