??? 12/06/06 11:51 Read: times |
#129064 - use SFR Responding to: ???'s previous message |
Roque Obusan said:
//Multiprocessor Communication Registers
unsigned char *SADDR; unsigned char *SADEN; //Setup Multiprocessor communication SADDR = (unsigned char *)0xA9; SADEN = (unsigned char *)0xB9; *SADDR = 0x3e; *SADEN = 0xff; I guess SADDR and SADEN are Special Function Registers and they cannot be accessed indirectly with a pointer. You must define them with sfr (or use the appropriate header file which already contains them). Maarten |