FIX: FNENI, FNCLEX Assembled Wrong After PROC USES (81892)
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 Q81892 SYMPTOMS
The Microsoft Macro Assembler (MASM) incorrectly assemble the FNENI or
FNCLEX coprocessor instructions if the instructions are used in a
procedure declared with the PROC USES directive. FNENI and FNCLEX used
outsize of PROC USES procedures assemble correctly.
RESOLUTION
Several methods can be used to work around this problem, including:
- Using FENI or FCLEX instead of FNENI or FNCLEX.
- Using a PROC without the USES directive.
- Putting the opcode for FNENI or FNCLEX into the code directly.
The sample code below demonstrates this workaround. This could
also be done by setting up a macro that when invoked puts the
opcode into the code directly.
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: | Minor | Last Reviewed: | 6/14/2004 |
---|
Keywords: | kbdownload kbfix KB81892 |
---|
|