We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I think the implement will use SFR-BIT. Help me.
You didn't say which toolset; I'm assuming C51: NO - you can't have arrays of bits (see "Bit Types" in the manual) You can, however, have an object in which individual bits can be accessed directly - see "Bit-Addressable Objects" in the manual - although this does not give you indexed access to the bits. Review this thread, which includes submissions with example code: http://www.8052.com/forum/read.phtml?id=20996 But, if you don't specifically need an array of bits, just do what conventional 'C' compilers do - an array of bytes, in which each byte value is considered to represent either false (value==0) or true (value!=0)
"You didn't say which toolset" I'm sorry - you did say it in the Subject: - but it disappears off the end of the line on the Reply form, so I couldn't see it. But, in future, it'd help if you selected the appropriate toolset in the Product drop-down list.