This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Assembly File Creation From C Source File

Hi, I am Practicing Assembly Language Programming for ARM7TDMI Architecture.
I want to generate the Assembly Source code File for my input C source File
(Like Listing File Generation).Is it Possible in Keil.If yes mean,What all
are the configuration i have to do in target option Tab.

Thanks in Advance,
Shanmugam.s

Parents Reply Children
  • Thanks for your Reply...

    But Sorry I cant Get your words exactly.

    My Doubt was,

    Let Take the input file as below.

    Main.c
    ==========
    /************ start of file ************/
    void main()
    { Statement1; Statement2; Statement3; Function1(); Function2();
    }

    Function1()
    { Statement1; Statement2;
    }

    Function2()
    { Statement1; Statement2;
    } /*********** End of File ***************/

    Just Take Main.C as input File.while we build this project this will generate hex file.
    Here i want the asm file(main.asm) equivalent to the main.c.while debugging this program the disassembly section allow as to see the asm file equivalent to c file.But i want the asm file separately in my project folder. Is it possible?

    Thanks and Regards,
    Shanmugam.S