[cc65] ca65: Why doesn't this zero-apge override work?

From: Agent Friday <64subnet1gmail.com>
Date: 2012-05-24 13:47:11
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.
Received on Thu May 24 13:47:23 2012

This archive was generated by hypermail 2.1.8 : 2012-05-24 13:47:27 CEST