[Patch,AVR]: ad PR49868: Extend __pgmx semantics to flatten memory

2012-01-09 Thread Georg-Johann Lay
This patch extends the semantics of 24-bit __pgmx address space qualifier to cover RAM and Flash. RAM is represented by setting the high byte of 24-bit address to 0x80. The code to read from 24-bit address space decides at runtime what instruction to use to read by if-else decision depending on

Re: [Patch,AVR]: ad PR49868: Extend __pgmx semantics to flatten memory

2012-01-09 Thread Denis Chertykov
2012/1/10 Georg-Johann Lay a...@gjlay.de: This patch extends the semantics of 24-bit __pgmx address space qualifier to cover RAM and Flash. RAM is represented by setting the high byte of 24-bit address to 0x80. The code to read from 24-bit address space decides at runtime what instruction