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

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2005-05-08 22:39:43
On Sat, May 07, 2005 at 01:37:40PM +0200, Spiro Trikaliotis wrote:
> I just got a question with ca65 which I believe should be handled in
> chapter 7 of the documentation (which does not exist yet ;-)).

Chapter 6.3 mentions address size override operators. I admit that it doesn't
go much into detail, but the example is applicable.

> I have a command STA label,X, where label is $FF. I want to force using
> the absolute addressing mode instead of the ZP adressing mode.
>
> How do I perform this?

        sta     a:label,x

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 Sun May 8 22:39:56 2005

This archive was generated by hypermail 2.1.8 : 2005-05-08 22:39:59 CEST