Before entering the ISR of the application, the processor saves on stack a set of registers like acc,p,dp which are necessarily push of 32 bit registers. How is it that the hardware does those 32 bit push'es without proper alignment of stack? Is it a must that the ASP / NASP instruction at entry and exit if the ISR does any 32 bit stack operation? I am puzzled and concerned about any unnecessary load (of these 2 instructions) on a high speed ISR.
Can someone clarify? Thanks.
Sayee
_myIsr:
ASP
....
NASP
IRET ; return from interrupt