Content originally posted in LPCWare by gbm on Thu Sep 13 12:05:45 MST 2012
Compilers for MCUs with single address space treat place constants in Flash. All ARM-based chips, Texas MSP430 family, Renesas R8C, M16C, SH series, RX series and many others belong to this category.
This is not so easy for some 8-bit MCUs with many address spaces, like AVR, PIC and 51 family. In these cases special keywords or pragmas are used to force placement of costant data into ROM.