Re: [cc65] forcing adressing mode

From: Mark J. Reed <markjreed1mail.com>
Date: 2007-12-19 18:44:22
On Dec 19, 2007 12:39 PM, Ullrich von Bassewitz <uz@musoftware.de> wrote:

> It is sometimes necessary when you have a forward reference for a symbol:
>
>        lda     foo
>        foo     = $02


Yes, that's an obvious use -case for the z: prefix, but I was having trouble
coming up with one for a:.

Other uses include self modifying code


Horrors!  I can't believe you said that in mixed company!  :)


> and special timing or code size requirements.


Ah, yes. I can certainly see where you might want to force the extra clock
cycles for timing consistency in an embedded app situation.

Thanks.

-- 
Mark J. Reed <markjreed@mail.com>

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Dec 19 18:44:35 2007

This archive was generated by hypermail 2.1.8 : 2007-12-19 18:44:38 CET