Hello,
BugMan's method is also my prefered.
You can also generate an ILAD (Execute from Illegal Address), by doing
JMP 0x00;
0x00 is not a code region but registers.
I prefer ILOP as an ILAD is more likely to happen in code runaway situations.
Therefore I prefer my software to know when a real ILAD occured.
Cheers,
Alban.