BlackOps
Full Member level 5
- Joined
- Jan 1, 2005
- Messages
- 279
- Helped
- 14
- Reputation
- 28
- Reaction score
- 3
- Trophy points
- 1,298
- Location
- AZERBAIJAN
- Activity points
- 2,496
thanks, Mike, K8LH , VVV.
thank u xorcise but i dont use BASIC, anyway its ppl with same problem in BASIC will c ur code here.
one more thing is i removed NOP from ISR, then i have set up PRESCALER to 1:1. and changed both variables to .100 After all of these, i should have load .167 to TMR0 (using movlw, and movwf) it means that i was loosing .167 - .156 = 11 cycles! 3 for context saving, 1 for banksel, 2 for TMR0 writing.. but what the other 5 cycles wasted for?...
well, its ok anyway, for any exact application i will have just to experiment. thanks again
thank u xorcise but i dont use BASIC, anyway its ppl with same problem in BASIC will c ur code here.
one more thing is i removed NOP from ISR, then i have set up PRESCALER to 1:1. and changed both variables to .100 After all of these, i should have load .167 to TMR0 (using movlw, and movwf) it means that i was loosing .167 - .156 = 11 cycles! 3 for context saving, 1 for banksel, 2 for TMR0 writing.. but what the other 5 cycles wasted for?...
well, its ok anyway, for any exact application i will have just to experiment. thanks again