Some Instructions May Require Enabling of Instruction Set (47504)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 5.0
- Microsoft Macro Assembler (MASM) 5.1
- Microsoft Macro Assembler (MASM) 5.1a
- Microsoft Macro Assembler (MASM) 6.0
- Microsoft Macro Assembler (MASM) 6.0a
- Microsoft Macro Assembler (MASM) 6.0b
This article was previously published under Q47504 SUMMARY
Using an instruction that requires a 80186, 80286, or 80386 processor
may cause the Microsoft Macro Assembler (MASM) 5.1 to generate the
one of the following errors:
A2066: Must have instruction after prefix.
A2105: Expected: instruction, directive, or label
and MASM 6.0 to generate the following error:
A2085: instruction or register not accepted in current CPU mode
The error occurs because the default assembly mode is 8086. The .186,
.286, .286p, .386, or .386p directive must be placed in the source
code prior to any instructions that require those modes.
In addition, MASM 6.0 supports 80486 instructions.
Modification Type: | Minor | Last Reviewed: | 10/29/2003 |
---|
Keywords: | KB47504 |
---|
|