| ??? 04/05/07 03:12 Read: times |
#136645 - Compound statements Responding to: ???'s previous message |
Do not use them if they become confusing
while( !( ReadRegister( MSG_D ) & 0x08 ) ); 0x08 = 00001000b while( ReadRegister( MSG_D ) & 0x08 ); //executes until XXXX1XXXb is false while(!(ReadRegister( MSG_D ) & 0x08)); //executes until XXXX0XXXb is false |
| Topic | Author | Date |
| not within a while statement in 8051 | 01/01/70 00:00 | |
| Textbook time | 01/01/70 00:00 | |
| sorry about that | 01/01/70 00:00 | |
| 08 is not a valid number! | 01/01/70 00:00 | |
| Compound statements | 01/01/70 00:00 | |
Thanks | 01/01/70 00:00 | |
| Beware of leading zeros! | 01/01/70 00:00 | |
| Evaluate it yourself! | 01/01/70 00:00 |



