Unused interrupts


Here are a couple knowledge base articles on the subject. I will have about 100 unused interrupt vectors.

The first article creates a different ISR for each unused interrupt and calls a common fault handling function. This generates way too much code for me.

The second article seems like what I want but I'm not sure because I cannot get it to assemble. I get a syntax error when it sees the macro definition. I did try something very similar. I have an assembly file that ORGs a JMPS instruction to the location of each unused vector, skipping the ones I use. This reserves a contiguous block of memory from my first JMPS to the last one including the ones I skip, so I get a memory overlap error for each vector I am using.



Does anyone have a neat way you have figured out to do this that you can share with me.

Any help would be appreciated,

More questions in this forum