??? 04/13/08 19:57 Read: times |
#153204 - Not in a high-level language, you can't Responding to: ???'s previous message |
Frank Knight said:
Why can we not use a for loops (we know how long each instrustion takes and we know our crystal frequency so we ca calculate accurate timing. Mentioning 'for' loops implies that you're talking about a high level language - yes? Although you can, indeed, calculate the timing of the low-level machine instructions, you cannot tell in advance what low-level machine instructions your compiler will choose to use to implement the 'for' loop! See: http://www.8052.com/forum/read.phtml?id=149030 |
Topic | Author | Date |
Timers | 01/01/70 00:00 | |
Because ... | 01/01/70 00:00 | |
Are you serious ? | 01/01/70 00:00 | |
loop is like DOS , timer is like WIndows | 01/01/70 00:00 | |
Timer Used For Delay | 01/01/70 00:00 | |
Not in a high-level language, you can't | 01/01/70 00:00 | |
A Simple example![]() | 01/01/70 00:00 |