??? 01/20/08 00:32 Read: times |
#149752 - Another thing Responding to: ???'s previous message |
Just another question:
Using SDCC I made something like this: unsigned int mainoff = 5000; mainoff = ~(--mainoff); _asm mov _TL2,_mainoff mov _TH2,(_mainoff + 1) _endasm; Its suppose to set TL2 and TH2 to Two's complement mainoff so it will take mainoff ticks to overflow. Is this correct? P.S: In the program mainoff is limited to: 1-50,000 Thanks. |
Topic | Author | Date |
When does timer 2 get reloaded? | 01/01/70 00:00 | |
Another thing | 01/01/70 00:00 | |
read the manual | 01/01/70 00:00 | |
what is register bank 5 supposed to mean?![]() | 01/01/70 00:00 |