We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all,
I need to enable exception handling in case of dividing by zero in case of float numbers yet I am not sure even if it is supported in cortex R7 could someone help me if i am missing something .
Thanks .
In Cortex-R7 Technical Reference Manual (TRM), you can find SCTLR.DZ bit ( SCTLR.bit[19] )
Divide by Zero fault enable bit. This bit controls whether an integer divide by zero causes an UNDEFINED Instruction exception: