mmaccamy
Newbie level 1
So I'm trying to write behavioral requirements for a project based around the PIC18F platform (specifically the PIC18F4250 and PIC18F8722) and I need to find out if a divide-by-zero exception is encountered. Do these processors simply trigger a reset if an exception like this occurs?
My software is strictly C based and I use MicroChips MPLAB IDE to compile and build my projects. I have a feeling that this sort of thing is an undefined behavior since I was unable to find any information regarding this topic in either of the datasheets, nor the errata. I also have a feeling that the compiler itself doesn't allow something like this to occur.
I'm going to go read up on MPLABs compiler to test my theory. Please share any knowledge that anyone may have regarding this topic.
My software is strictly C based and I use MicroChips MPLAB IDE to compile and build my projects. I have a feeling that this sort of thing is an undefined behavior since I was unable to find any information regarding this topic in either of the datasheets, nor the errata. I also have a feeling that the compiler itself doesn't allow something like this to occur.
I'm going to go read up on MPLABs compiler to test my theory. Please share any knowledge that anyone may have regarding this topic.