Expressions in Definitions Changed for MASM 5.10

ID Number: Q38935

5.10 | 5.10

MS-DOS | OS/2

Summary:

In all versions of Microsoft Macro Assembler earlier than version

5.10, you could not have an expression with a larger than 16-bits

in a definition. This has been changed in version 5.10.

More Information:

In all versions before Version 5.10, you could use constants of

greater than 16 bits; however, you could not use an arithmetic

expression to obtain a number larger than 16 bits.

The following is an example:

DD 86400 <- correct.

DD 60*60*24 <- incorrect. This would be truncated at the

16-bit value.

This feature has been implemented in Version 5.10 so that both of the

above declarations will yield the same answer.