In article <4eafc016.1040...@web.de> you write: >For now, the reccommendation, I could give you is, to try to place all >of your "data type" constant tables in the first 64k of memory by use of >an appropriate linker script. As long as they reside within the first >64k, a 16 bit pointer will do.
As Johann works on the named address space implementation in GCC, I think he really wants a true 24-bit data type. The overall goal is to be able to eventually replace all those workarounds ("use only the first 64 KiB", "use a 32-bit number instead") by a genuine 24-bit addressing, so you can write something like: __farflash const char *stringtable[] = { ... }; and have the compiler insert the correct (ELPM) instruction to access them when referencing "stringtable" data. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list