Microsoft KB Archive/38935: Difference between revisions
From BetaArchive Wiki
(importing KB archive) |
m (Text replacement - "<" to "<") |
||
Line 54: | Line 54: | ||
<br /> | <br /> | ||
The following is an example: | The following is an example: | ||
<pre class="codesample"> DD 86400 | <pre class="codesample"> DD 86400 <- correct. | ||
DD 60*60*24 | DD 60*60*24 <- incorrect. This would be truncated at the | ||
16-bit value. | 16-bit value. | ||
</pre> | </pre> |
Latest revision as of 09:25, 21 July 2020
Article ID: 38935
Article Last Modified on 10/17/2003
APPLIES TO
- Microsoft Macro Assembler 5.1 Standard Edition
This article was previously published under Q38935
SUMMARY
In all versions of Microsoft Macro Assembler earlier than version 5.1, you could not have an expression with a larger than 16-bits in a definition. This has been changed in version 5.1.
MORE INFORMATION
In all versions of MASM before version 5.1, 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.1 so that both of the above declarations will yield the same answer.
Additional query words: kbinf 5.10
Keywords: KB38935