This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

division by zero

Hi all,

Does anybody know what does the system do when a division by zero occurs?

We are running RTX 51 ful kernel on Philips' 80c51, 80c552 and 80c660 controllers.

Thanks,

Laurent.

Parents
  • I don't believe the C166 has a hardware trap for this but division by zero causes the overflow bit to be set.
    same for the '51
    I know the HC16 provides a hardware trap, I guess that makes it a microprocessor in Erik's eyes.
    Nope, if a controller get a few gadgets, that's nice, if it does not, do not *** about it.

    Erik

Reply
  • I don't believe the C166 has a hardware trap for this but division by zero causes the overflow bit to be set.
    same for the '51
    I know the HC16 provides a hardware trap, I guess that makes it a microprocessor in Erik's eyes.
    Nope, if a controller get a few gadgets, that's nice, if it does not, do not *** about it.

    Erik

Children
No data