I am using CW 11.1 with DSC 2.7.3 on MC56F83000-EVK. When I call a subroutine from an ISR I get vectored to the following default interrupt routine:
/* misaligned long word access interrupt ($0A) */
#ifndef INT_VECTOR_ADDR_5
#define INT_VECTOR_ADDR_5 misalign
static asm void misalign(void)
{
debughlt
nop
rti
}
#endif
If I do not call the subroutine, the ISR performs correctly. What is the cause of this misaligned long word access interrupt error?