| ??? 11/01/11 21:22 Read: times |
#184510 - re: enumerations on 8051 Responding to: ???'s previous message |
Andy Peters said:
I'm a big fan of using enumerations exactly as you describe, but one point: with the usual 8051 compilers, is the enumeration variable an integer (16 bits with Keil) or a character (8 bits)? Quoting myself here. Google turned up this thread from 2006 on the Keil forum in which Andy Neil points out that Keil chooses the size that fits. -a |
| Topic | Author | Date |
| User entered recipes ??? | 01/01/70 00:00 | |
| Just create array of regular rules | 01/01/70 00:00 | |
| Thanks - that's great | 01/01/70 00:00 | |
| programming language | 01/01/70 00:00 | |
| programming language - not really | 01/01/70 00:00 | |
| consider enum | 01/01/70 00:00 | |
| thanks - implemented. | 01/01/70 00:00 | |
| Intelligence | 01/01/70 00:00 | |
| I must have a stupid compiler | 01/01/70 00:00 | |
| Not all compilers are as good at generate warnings | 01/01/70 00:00 | |
| no warning/error on the compiler | 01/01/70 00:00 | |
| response from Raisonance | 01/01/70 00:00 | |
| enumerations on 8051 | 01/01/70 00:00 | |
| enums are 8bit by default on Raisonance | 01/01/70 00:00 | |
| NULL | 01/01/70 00:00 | |
| Could you show me the code | 01/01/70 00:00 | |
| compatibility et al | 01/01/70 00:00 | |
| why change pointer to CODE? | 01/01/70 00:00 | |
| enum advantage | 01/01/70 00:00 | |
| user page does not work (at least for me) | 01/01/70 00:00 | |
| try it now | 01/01/70 00:00 | |
| re: enumerations on 8051 | 01/01/70 00:00 | |
Article on Hierarchical Menu Structure | 01/01/70 00:00 |



