| ??? 03/20/02 04:42 Read: times |
#20996 - bit array in C (for 8051) |
Hello all. I want to make an array, of say, 32 bits in C language. I am using Keil tools. The compiler document for Keil clearly says that array for bit is not allowed. Niether is a pointer to a bit. If I have to write to each bit individually, then it CAN be achieved efficiently in assembly.
I just wanted to ask if the gurus of this forum can suggest something better. The compiler ain't generating a tight code (I tried this on 1 byte, placing on 0x20H). Can someone suggest a better solution? Regards Aman |
| Topic | Author | Date |
| 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 |



