Re: [cc65] How to find highest address of my C code?

From: Johan Kotlinski <kotlinski1gmail.com>
Date: 2012-01-04 22:11:23
> for the symbols defined. Since the symbols start with an underscore, they can
> be accessed from C. But beware: They're addresses. Example:
>
> /* The following two are defined by the linker */
> extern unsigned char _RODATA_RUN__;

Ah, so that's how it is supposed to work. I already had the
expectation that they were addresses, so I declared them as char
pointers... but when I think of it, declaring as char of course is the
simplest way to do things from compiler+linker view. Even if a bit
counter-intuitive :)

Cheers
Johan
----------------------------------------------------------------------
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 Jan 4 22:11:54 2012

This archive was generated by hypermail 2.1.8 : 2012-01-04 22:11:57 CET