AnsweredAssumed Answered

MPC5554 divide-by-zero exception on an integer

Question asked by OLIVIER SCHLOSSER on Oct 31, 2013
Latest reply on Nov 8, 2013 by OLIVIER SCHLOSSER



I am trying to generate an interrupt in case divide-by-zero.

This is working on divide float instruction but not on a divide integer instruction ("divw").


On a divide integer instruction, the result of a divide-by-zero is the maximum value (0xFFFFFFFF).


I do not find any configuration on the processor to force an interrupt. Do some one did it ?