I am using S12 ZVML microcontroller.
I wanted to know whether there is any specific handling for illegal memory access and illegal instruction execution.
I checked the memory mapping control Module [MMC] in the RM. From it, I understand Machine exception is issued for an illegal access. The cause can be verified by looking at the Error code register [MMCEC]. And further safe handling once exception is issued can be to forcibly perform WDT reset.
Can anyone please guide me about behaviour and handling when illegal instruction is executed.