Microsoft KB Archive/27587

= Two Causes of Interrupt 0 in MASM Program =

Article ID: 27587

Article Last Modified on 10/29/2003

-

APPLIES TO


 * Microsoft Macro Assembler 5.0
 * Microsoft Macro Assembler 5.1 Standard Edition
 * Microsoft Macro Assembler 5.1a
 * Microsoft Macro Assembler 6.0 Standard Edition
 * Microsoft Macro Assembler 6.0a
 * Microsoft Macro Assembler 6.0b

-



This article was previously published under Q27587



SUMMARY
When running a program created by the Microsoft Macro Assembler, an &quot;integer divide by 0&quot; may be generated. In MASM version 6.0 and later, the error number generated will be R6003. The documentation for MASM version 6.0 gives the following explanation:   Run-time error R6003

integer divide by 0

An attempt was made to divide an integer by 0, giving an  undefined result. Another possible cause, documented in the Microsoft Macro Assembler version 5.0 Programmer's Guide under DIV/IDIV, is the quotient overflowing its target register.

Additional query words: kbinf 5.00 5.10 5.10a 6.00 6.00a 6.00b

Keywords: KB27587

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.