INFO: Assembly Output from Visual C++ Compiler May Not Assemble (200256)



The information in this article applies to:

  • Microsoft Visual C++, 32-bit Editions 4.0
  • Microsoft Visual C++, 32-bit Enterprise Edition 5.0
  • Microsoft Visual C++, 32-bit Professional Edition 5.0
  • Microsoft Visual C++, 32-bit Enterprise Edition 6.0
  • Microsoft Visual C++, 32-bit Professional Edition 6.0
  • Microsoft Visual C++, 32-bit Learning Edition 6.0

This article was previously published under Q200256

SUMMARY

The Visual C++ compiler provides the /FA switch to generate an assembly file (.asm) as part of the output although it may be possible to assemble this source file without any errors. Microsoft does not recommend using a Macro Assembler; that is, for example MASM, on the .asm files generated by the Visual C++ compiler. Such use of assembly files generated in this fashion is not supported by Microsoft.

MORE INFORMATION

To generate an assembly file listing complete the following steps:
  1. Select Project and click Settings.
  2. Click the C/C++ tab.
  3. Choose Listing Files for the category.
  4. Select Assembly-Only Listing as the Listing File Type.
NOTE: Assembly files generated by the C/C++ compiler are for informational use only.


Modification Type:MinorLast Reviewed:7/5/2005
Keywords:kbCompiler kbinfo KB200256