Thanks for the advice, but no, this processor is bulletproof.
My code:
void kill(void)
{
*(char *)0xbbbbbbbb = 0;
}
dis-assembly:
0x0000f904 <kill>: clr.b d0
0x0000f906 <kill+2>: move.b d0,0xBBBBBBBB (0xbbbbbbbb)
off to the exception handler we go.......
asm __declspec(register_abi) void asm_exception_handler(void)
{
link a6,#0
lea -20(sp), sp
movem.l d0-d2/a0-a1, (sp)
lea 24(sp),a0
/* A0 point to exception stack frame on the stack */
jsr mcf_exception_handler
movem.l (sp), d0-d2/a0-a1
lea 20(sp), sp
unlk a6
rte
}
seems to end up at:
VECTORDISPLAY
("Error on operand write\n");