|
|||||||||||
|
Technical Support Support Resources
Product Information |
ARMCC: How to Create Assembly Files From C FilesInformation in this knowledgebase article applies to:
QUESTIONHow do I create an assembler file from my C source file? ANSWERUse the --asm control to create assembler output from the C compiler. The --asm control causes the compiler to generate a .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. SEE ALSOLast Reviewed: Wednesday, February 24, 2021 | ||||||||||
|
|||||||||||
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.