On 2012-05-24, at 13:47, Agent Friday wrote: > Since this works (forcing absolute addressing on known ZP address): > > FOO = $12 > > LDA A:FOO > > I'm having a hard time seeing which the following (forcing zero-page > addressing on a symbol of yet-unknown size) does not: > > LDA Z:FOO > > FOO = $12 > > This generates an Error: illegal addressing mode. It seems clear > that the Z: prefix is recognized as an addressing mode specifier, > but... doesn't seem to do what you'd think? I think the forward declaration is a problem. I recall discussing similar thing with UZ some time ago. Check if you get warning when the forced Z: is omitted (this would be result of my discussion) and if you get the same if the declaration of FOO is _before_ its first use. -- SD! ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Thu May 24 14:24:24 2012
This archive was generated by hypermail 2.1.8 : 2012-05-24 14:24:27 CEST