Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/20/02 09:55
Read: times


 
#21008 - RE: bit array in C (for 8051)
"Keil clearly says that array for bit is not allowed"

So there you have it!

'C' (anybody's 'C') is not good at addressing individual bits :-(

Note that Keil does give you bit-addressable objects - but not indexable, like an array.

If you really need to do this, assembler is probably your best bet: write yourself some bit-handling routines in assembler, and call them from your 'C'

List of 14 messages in thread
TopicAuthorDate
bit array in C (for 8051)            01/01/70 00:00      
RE: bit array in C (for 8051)            01/01/70 00:00      
RE: bit array in C (for 8051)            01/01/70 00:00      
RE: bit array in C (for 8051)            01/01/70 00:00      
RE: bit array in C (for 8051)            01/01/70 00:00      
RE: bit array in C (for 8051)            01/01/70 00:00      
RE: bit array in C (for 8051)            01/01/70 00:00      
RE: bit array in C (for 8051)            01/01/70 00:00      
RE: bit array in C (for 8051)            01/01/70 00:00      
RE: bit array in C (for 8051)            01/01/70 00:00      
RE: bit array in C (for 8051)            01/01/70 00:00      
RE: bit array in C (for 8051)            01/01/70 00:00      
RE: bit array in C (for 8051) - Kapil            01/01/70 00:00      
Bit pointers in C51            01/01/70 00:00      

Back to Subject List