??? 03/08/05 05:56 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#89247 - infinite loop Responding to: ???'s previous message |
your code is an infinte loop. which is what is required.
but you code is being executed like this 0x000: reset to main main to 0xfff and then back to 0x000 with the interrupt being seviced when ever the timer overflows. what you need to do is have an trick: sjmp trick or sjmp $ (depending on assembler) at the end of the main before end. this will also result in an infinte loop but won't be as an address foldback, which is what is happening now. |
Topic | Author | Date |
Software-Based Real Time Clock problem. | 01/01/70 00:00 | |
infinite loop | 01/01/70 00:00 | |
the above is wrong due to language | 01/01/70 00:00 | |
Thank you.![]() | 01/01/70 00:00 |