In Keil C51, you can do this: unsigned char bdata a; sbit a0 = a^0; sbit a1 = a^1; sbit a2 = a^2;
thus, allocate bit variable (a0, a1, a2) within the bit-addressable byte variable (a). Is this possible in SDCC? Thanks, Lenik ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user