ID Number: Q23578
4.00
MS-DOS
buglist400 fixlist5.00
Problem:
When the Include directive is used in a macro, the code in the include
file is placed incorrectly at the end of the macro. The following
example illustrates this problem:
SOURCE FILE
**********************************************
getcode MACRO
push ax
INCLUDE in.asm
pop ax
ENDM
code segment 'code'
assume cs:code
getcpde
code ends
end
INCLUDE FILE: IN.ASM
**********************************************
mov ax,bx
The resulting code is as follows:
push ax
pop ax
mov ax,bx
Response:
Microsoft has confirmed this to be a problem in Version 4.00 of the
Macro Assembler. The problem is corrected in MASM Version 5.00.