??? 06/05/11 13:04 Read: times |
#182488 - HLL delay loops - just don't do it! Responding to: ???'s previous message |
Kalpak Dabir said:
If your app is complex, then you are wasting CPU clock cycles in idling. The same applies if your app is simple! If your code is in C and you switch on the code optimizations, the delay value will decrease Not necessarily! The point is that the duration of a loop in any High-Level Language (HLL) - including 'C' is entirely unpredictable |
Topic | Author | Date |
Help me ? 89C52 interfacing with EEPROM 24C02 | 01/01/70 00:00 | |
Do *not* use 'for' loops for delays! | 01/01/70 00:00 | |
100k is the upper limit | 01/01/70 00:00 | |
HLL delay loops - just don't do it! | 01/01/70 00:00 | |
that may be difficult | 01/01/70 00:00 | |
but there is a way | 01/01/70 00:00 | |
See if this code is of any help! | 01/01/70 00:00 | |
I doubt it very much | 01/01/70 00:00 | |
No, it isn't | 01/01/70 00:00 | |
doubts 1,2,3 | 01/01/70 00:00 | |
code for 24c02 wih 89c52 | 01/01/70 00:00 | |
Do *not* use 'for' loops for delays! | 01/01/70 00:00 | |
code? | 01/01/70 00:00 |