The information in this article applies to:
SYMPTOMSWhen assembling code that uses simplified segment directives, the Macro Assembler displays an error message similar to this one:
CAUSEThis error can occur because of incorrect order of the .DATA and .CODE directives in the assembly source code. The .DATA directive implies ASSUME CS:ERROR. Any code that appears after the .DATA directive and attempts to implicitly or explicitly use the CS register (such as JMP instructions or labels) will generate this error. RESOLUTIONMake sure that a .CODE directive and not a .DATA directive precedes your procedure definitions and any other instructions. STATUSThis behavior is by design. MORE INFORMATIONSample Code to Reproduce Error
Additional query words: 6.00 6.10
Keywords : MLIss |
Last Reviewed: January 10, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |