| 1 |
Collected here are "grind" dumps of the DIV instruction on various Intel processors. |
| 2 |
|
| 3 |
Officially, DIV is not really supposed to modify any flags by Intel documentation. |
| 4 |
But, at least on Pentium and lower processors, the flags do in fact change. |
| 5 |
And in some cases, how these flags change can mean the difference between correct |
| 6 |
and incorrect CPU detection by DOS programs (i.e. detecting the difference between |
| 7 |
an Intel 386 vs a NexGen 5x86). |
| 8 |
|
| 9 |
To preserve prior weird behavior, dumps of the DIV instruction's behavior are provided |
| 10 |
here. |
| 11 |
|