Hi,
The information you can find in S12CPUV2 manual:
S12CPUV2 - Reference Manual
See chapter 7.5 Interrupts
In stop mode for example, low signal on IRQ pin triggers IRQ_ISR. Prior to stop mode IRQ must be enabled by setting IRQCR register and bit IRQEN.
Also, low level on XIRQ pin wake up the MCU.
However, if XIRQ interrupt is disabled then the code continues on the next instruction after STOP.
If the XIRQ interrupt is enabled then the XIRQ_ISR is triggered.
Hope the information helps.
Regards,
iggi