EQU Directive Evaluates "HERE3 EQU 1-$" Incorrectly

ID Number: Q22502

4.00

MS-DOS

Problem:

The EQU statement "HERE3 EQU 1-$" causes the assembler

to replace HERE3 with text instead of a value, while the

statement "HERE2 EQU $-5" causes the assembler to replace

HERE2 with a value. This treatment seems to be

inconsistent.

Response:

Microsoft confirmed this to be a problem in Version

4.00 of the Macro Assembler. The problem was corrected in

MASM Version 5.00.