i was download the code from internet
the program is start with these lines --------------------------------
sfr P1 = 0x90; /* SFR for P1 */
sbit P1_0 = P1^0; /* SFR for P1.0 */ sbit P1_1 = P1^1; /* SFR for P1.1 */
--------------------------------
what is the function of this code
The comments are pretty self-explanatory, aren't they?
sfr and sbit are Keil C51-specific extensions to the standard 'C' language - so look them up in the Keil C51 manual...
Refer to the following:
Jon