Division Operators "/" with .186, .286, and .386 (39446)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 5.0
- Microsoft Macro Assembler (MASM) 5.1
This article was previously published under Q39446 SUMMARY
To use calculation operators on constant values larger than 17 bits,
".386" has to be enabled. Otherwise, the assembler may generate error
"A2029 : Division by 0 or overflow."
Please refer to Page 174 of the "Microsoft Macro Assembler
Programmer's Guide" in the section "Using Operators" for more specific
information. The program below demonstrates this information.
This while MASM 5.0, 5.1, and 5.1a were designed with this limitation,
MASM 6.0, 6.0a and 6.0b can perform these calculations.
Modification Type: | Major | Last Reviewed: | 10/17/2003 |
---|
Keywords: | KB39446 |
---|
|