Maybe ca65 doesn't support zp overrides of not-yet-specified variables because it doesn't know the size of the variable yet and has to assume a word. Just a thought. :) ________________________________ From: Agent Friday <64subnet@gmail.com> To: cc65 mailing list <cc65@musoftware.de> Sent: Thursday, May 24, 2012 7:47 AM Subject: [cc65] ca65: Why doesn't this zero-apge override work? 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? // Agent Friday ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail. ---------------------------------------------------------------------- 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 16:59:01 2012
This archive was generated by hypermail 2.1.8 : 2012-05-24 16:59:04 CEST