At 09:20 AM 7/7/2005, James Hatley wrote: >Good point. And for most processors I assume that the JMP would be more >appropriate. > >However, the little 2313 only has a RJMP. I couldn't find any other >instruction that fit for interrupt vectors. > >I wrote some code and it ran just fine with the RJMP. (on the simulator >anyway). Be sure which is right for your box. I made the mistake once, of copying the vector table from a lower AVR (with rjmps) into a mega, which uses JMP, and the results were most amusing, but depending on how much code there is, and how it's structured, it might have worked, which is more scary, to me anyway.
Message
Re: [AVR-Chat] Timer1 Problems
2005-07-07 by Dave VanHorn
Attachments
- No local attachments were found for this message.