FIX: JMP Jumps to the Proc When Using Duplicate Names (76911)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 6.0
- Microsoft Macro Assembler (MASM) 6.0a
- Microsoft Macro Assembler (MASM) 6.0b
This article was previously published under Q76911 SYMPTOMS
Using the Microsoft Macro Assembler (MASM) versions 6.0, 6.0a or 6.0b,
the JMP instruction will jump to the procedure name rather than a
local label if the names of the procedure and the local label are
identical. After the jump, the procedure begins running rather than
the code at the label.
RESOLUTION
To work around the problem, create a local label with a name that is
different from the procedure name.
STATUS
Microsoft has confirmed this to be a problem in MASM versions 6.0,
6.0a, and 6.0b. This problem was corrected in MASM for MS-DOS version
6.1.
Modification Type: | Major | Last Reviewed: | 10/22/2003 |
---|
Keywords: | kbfix KB76911 |
---|
|