#include // constant array in the ROM ( code section ). char code source[] = { "rude repulsive rabbit" }; // pointer in DATA space to 0x000000 address in XDATA space. char xdata *target; main() { // iterators for source and target arrays. unsigned char i, j; for( i = 0, j = 0; source[i] != 0; i++, j++ ) { target[j] = source[i]; // if the current symbol is 'r', increment iterator and add to the target ' '. if( source[i] == 'r' ) target[++j] = ' '; } while(1); // dynamic halt }