Dear Mr./Mrs,
I try to understand IVOR0. When I set MSR bit by using source code as follow.
static void SetMSR_ME(void)
{
/* read spr MSR */
PPCASM (" mfmsr %r3 ");
/* load mask to assert the ME bit */
//lis r4, 0x0000
//addi r4, r4, 0x1000
PPCASM (" e_lis %r4, 0x0000 ");
PPCASM (" e_add16i %r4, %r4, 0x1000 ");
/* set ME bit */
//or r3, r3, r4
PPCASM (" se_or %r3, %r4 ");
/* write back to MSR */
PPCASM (" mtmsr %r3 ");
}
But I divide integer variable by zero on runtime. During debugging my source not stop at void IVOR0_Exception_Handler(void). Where could be problem? I wonder that. I read a post on forum like that there is not exception for e200z6. Is it same with e200z7.
Best regards.