15.4.4.2 Cortex-A Interrupts
When interrupts occur on a Cortex-A target, the stack guidance should be adjusted by 56 bytes (R0-R12 and PC x 4 bytes) in the worst-case scenario.
- It is highly recommended to use
interrupt
function attribute for interrupt handlers, as the Vector Table can be relocated and it is difficult to find ISRs based on addresses. Beside this, the Vector Table can be set/modified at runtime. - If nested interrupts are enabled, the nesting cost should be considered.