Interrupt Vector Table Location?

nAnd

Member
I was having some fun researching interrupts and thought it'd be cool to try and write my own interrupt handler in assembly. The only problem is I can't seem to find the location of the interrupt vector table so I can point the teensy to my handler. Can someone point me in the right direction?
 
It's mapped to a location in RAM, not at any fixed location as you might expect from simpler microcontrollers which can't dynamically change the interrupt table location.

Normal way to write your ISR address into the table is with attachInterruptVector() which is defined in imxrt.h.
 
Ah yeah, I've done that in the past but was curious about trying to write some programs in pure assembly and was wondering how to make interrupts work with that. I'll go look at the definition for that command and see what I can find.

Found the file! Thx!
 
Back
Top