| ??? 03/21/02 01:03 Read: times |
#21046 - RE: bit array in C (for 8051) |
It all boils down to this...
1. Bit arrays are not portable across different architectures. 2. Macros that set and clear bits using shifts and masking are portable. All compiler companies (even us embedded guys) want to reduce the amount of special stuff we add to the language. I seem to recall that K&R had a lot of discussion over this and bit fields and boolean operators back in the late 70's. Jon |
| 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 |



