??? 04/04/07 23:48 Read: times |
#136638 - sorry about that Responding to: ???'s previous message |
Andy Neil said:
Why would it mean that? Where does 11110111b come from? Sorry about not using 'pre' tag. 11110111b came from the not(08). while( !( ReadRegister( MSG_D ) & 08 ) ); considering y = ReadRegister( MSG_D ) & 08 ; anything anded with '08' would give 08. which would then would translate to while(!y) and the control would come out to MSG_E = 4; if 'y' is equal to 8. Thanks |
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 |