Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Get the assembly code..

Posted on 2000-03-31
2
Medium Priority
?
294 Views
Last Modified: 2010-04-15
I use MS Visual C++ 6 to compile and run my C code..
But now I want to analyze the resulting assembly code of the code..
How can I do that with visual C??
What setting I should set?
0
Comment
Question by:wayud
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
makerp earned 150 total points
ID: 2672513
go to project settings and on the c/c++ tab and put /FA in the project options. this will product a .asm file for each resulting .obj file. the .asm file will be put in the debug directory

This option creates a listing file. The listing file always contains assembly code. The optional arguments control the generation of source code and machine code and the extension of the listing file as follows:


/FA
 Assembly-Only Listing
 Assembly code; .ASM
 
/FAc
 Assembly With Machine Code
 Machine and assembly code; .COD
 
/FAs
 Assembly With Source Code
 Source and assembly code; .ASM
 
/FAcs
 Assembly, Machine Code, and Source
 Machine, source, and assembly code; .COD
 
/Fafilename
 Listing File Name
 Use /Fa to specify a directory and/or filename for the selected type of listing file. By default, the base name of the listing file is the base name of the source file.
 
0
 

Author Comment

by:wayud
ID: 2672585
thanks for your help..
appreciate it..
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question