Jump to content


Check out our Community Blogs

RhetoricalRuvim

Member Since 16 Sep 2010
Offline Last Active Oct 25 2017 03:39 PM
-----

Blog Entries

RhetoricalRuvim's Blog > DIV 0 is Not the Only Way to Fail (Apparently)

Posted 25 March 2013

Hello everyone.

I just discovered something while trying to debug one of my assembly language programs. This is probably not new information for some people, but perhaps someone might find this useful to know.

The thing is: dividing by 0 is not the only way to raise an exception while executing the DIV instruction; dividing by 1 is just about as bad.

T...