CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    5

    .c to .asm conversion

    Hi,

    I wish to convert a C console program (*.c) that create using Visual C ++ ver 6.0 to an assembly file (*.asm)
    so that I can use it in MASM ver 6.11. CAN ANYONE TELL ME HOW CAN I DO THAT?

    Does the MASM ver 6.11 has the ability to convert the *.c file to *.asm file?

    In general, how can I convert my C file to an ASM file?

    Thanks and please reply to me as soon as you can if you can help.

    best wishes
    KL TAN
    email: [email protected]





  2. #2
    Join Date
    May 1999
    Location
    Texas, USA
    Posts
    568

    Re: .c to .asm conversion

    You will have to compile the c file with a command line switch that writes out the assembly code. I am not sure what it is but I have done it before. I think it is /FA or /Fa.

    Wayne



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured