No its not a bug anyway. Your statment void (*f)() = x; does two things 1. declares a function pinter and then assing it the value of x. As x is not a funcition point rather an char pointer so it is type promoted. And this method has some uses in pc enviornment i think it can have some uses in the PIC enviorment too. as in the PIC your strings are stored in the code area. anyway its not a bug. ______________________________ Reply Separator _________________________________ Subject: (OT FWD) Another Pentium BUG ? -Svar Author: pic microcontroller discussion list at smtpgwy Date: 11/11/97 2:18 PM As far as I can see, this is a C bug or a programmer bug. > char x [5] = { 0xf0, 0x0f, 0xc7, 0xc8 }; // fill an area with instructions > > main () > { > void (*f)() = x; // declare a function, starting at the variable x > f(); // execute it. > } Of course, a PIC programmer wouldn't think of this, since it is impossible to execute data on a PIC. Erik Klausen