hi friends i have doubt on i/o pins configuration of 8051.when i am writing embedded c program for selecting the single bit code sbit led=P1^0; like that for selecting all port0 pin means sfr led=0x80;... but my doubt on first im selecting all port pin using sfr then how i selecting particular pin example P0.1 form that sfr port for read and write.....
I meant, "In the Keil C51 implementation, bits don't just exist in isolation"
But even that isn't quite true: the sbit keyword does allow you to specify a bit address without first defining a variable - See: http://www.keil.com/support/man/docs/c51/c51_le_sbit.htm - Variants 2 & 3