A4001 May Be Caused By a Literal '>' in Text Equate

ID Number: Q32812

5.10 | 5.10

MS-DOS | OS/2

buglist5.10 fixlist6.00

Summary:

SYMPTOMS

The literal character operator (!) does not allow a right angle

bracket to be placed in a text equate. For example, the following

line will cause the Microsoft Macro Assembler (MASM) versions 5.10

and 5.10a to generate a warning:

a EQU < !> >

The warning produced is

A4001: Extra characters on line

STATUS

Microsoft has confirmed this to be a problem in MASM version 5.10.

This problem was corrected in MASM version 6.0.

More Information:

Sample Code

-----------

; Assemble options needed: none

.model small

.data

a EQU < !> >

END