FIX: Relational Operators Evaluate to Wrong Value (26822)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 5.0
- Microsoft Macro Assembler (MASM) 5.1
- Microsoft Macro Assembler (MASM) 5.1a
This article was previously published under Q26822 SYMPTOMS
When used with a MOV instruction, some relational operators will
evaluate to the wrong value. The following listing file sections are
examples of this problem. It is important to note that FFFF = true,
and 0000 = false. It is also important to note that when FFFFh is used
with the GT, GE, or LT, LE operator, it is interpreted as the largest
positive number and not as -1.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Macro
Assembler (MASM) version 5.0, 5.1, and 5.1a. This problem was
corrected in MASM version 6.0.
Modification Type: | Minor | Last Reviewed: | 10/29/2003 |
---|
Keywords: | kbfix KB26822 |
---|
|