00001 #include <p18cxxx.h> 00002 char a[]="PIC18F"; 00003 register char* p; 00004 00005 void main(void) { 00006 p = &a[0]; 00007 while(*p != 0) { 00008 if((0x40 < *p) && 00009 (0x5B > *p)) { 00010 *p = *p | 0x20; 00011 } 00012 p++; 00013 } 00014 }