How can I write an assembly ISR in a C program (AVR)?
Following on from my other question, Help optimising this C (AVR) code? :), I just realised that I don't really know the mechanics of how to implement an ISR in assembly within my C program. I googled, but I didn't find anything too useful. Basically, I want to set up everything else in my C project (including the registers to get the interrupt to fire), but I want the interrupt to execute some assembly code that I've written. I'm using AVR Studio 6 on Windows if that helps. I've been told I need to use .s files, but apart from that I'm not really sure what to do. Is the basic structure just t
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.