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). Jim ----- Original Message ----- From: "Dave VanHorn" <dvanhorn@dvanhorn.org> To: <AVR-Chat@yahoogroups.com>; <AVR-Chat@yahoogroups.com> Sent: Wednesday, July 06, 2005 8:33 PM Subject: Re: [AVR-Chat] Timer1 Problems > At 09:35 PM 7/6/2005, James Hatley wrote: > >Here I am replying to my own message ... > > > >Anyway, in re-reading what I wrote, I should have added that the vectors > >must be "rjmp address", not just address as I put in the message. ( from my > >Motorola assembler habits I guess. ) > > Check the DS for the particular processor, some use JMP, and if > you're using RJMP in the vector table you will get some really ODD results. > > > > > Yahoo! Groups Links > > > > > > >
Message
Re: [AVR-Chat] Timer1 Problems
2005-07-07 by James Hatley
Attachments
- No local attachments were found for this message.