Keil™, An ARM® Company

Technical Support

ARMCC: HOW TO CREATE ASSEMBLY FILES FROM C FILES


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 - Misc Controls. Also disable the option Project - Listing - C Compiler Listing since this is using a different output.

SEE ALSO

Last Reviewed: Monday, March 10, 2008


Did this article provide the answer you needed?
 
Yes
No
Not Sure