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
Information in this article applies to:
RealView Compiler Version 3 QUESTION How do I create an assembler file from my C source file?
ANSWER Use the --asm control to create assembler output from the C compiler. The --asm control causes the compiler to generate an .S file with the same name as your C file. You may then assemble the .S file with the assembler.
The --asm control is entered in µVision under Project — Options — C/C++ tab, Misc Controls. Also disable the option Project — Listing — C Compiler Listing since this uses a different output.
The Assembly file will have a .ASM extension, and will be in your listing file folder for your project.
=====================================================================================
i have used the above mentioned setting in keil for generating the asm source file from c source file but it generating the error given below
Unrecognized option -S or --asm error
Do you have a paid-for, licensed version of the tools?
I think that is evaluation version.Sorry u already told that it ll not work in the evaluation version. what is the other possibilities avail to do this one???? In order to buy the licensed version what i have to do???
Simple thing i need is i want the asm equivalent to the c file.
Thanks and Regards, Shanmugam.s