[mios8] crashing instructions

Hi all,

I just stopped by to check if my experiences are right…

1 In my mios c program (user_tick function) i used a modulo division like counter%divider and divider was a unsigned, non zero value, which caused the program to crash and the pic to start over. Using a number did’t. I could think of workarounds, but I am curious to hear yours

2 the same happened with 3 nested ifs, again I am working on a workaround, but I am equally happy to hear yours.

Is there a list of Mios8 don’t in C programming?