[cc65] ca65 bug? "Range Error" and scopes problem

From: Jeremy Turner <jeremiah.turner1gmail.com>
Date: 2013-01-05 17:14:15
I don't know if this is really a bug, or a limitation. A code snippet
(untested) would look something like this:

.autoimport +

.proc foo

    bcc label            ; any branch instruction


.proc bar

    .export label



Replacing the branch instruction with a jmp results in the problem going
away. Is the linker able to figure out addresses but not branches? (This
seems to be failing at assembly.) Is there a correct way to do this? Thanks
for any insight.(I'm using the most recent snapshot.)


To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Jan 5 17:14:26 2013

This archive was generated by hypermail 2.1.8 : 2013-01-05 17:14:30 CET