|
|||||||||||
Technical Support Support Resources
Product Information |
GENERAL: How to Create Assembly Files from C FilesInformation in this article applies to:
QUESTIONHow do I create an assembler file from my C source file? ANSWERUse the SRC directive to create assembler output from the C compiler. The SRC directive causes the compiler to generate an .SRC file with the same name as your C file. You may then assemble the .SRC file with the assembler. Note that if you make changes to the .SRC file, you should rename it to .A51 or .A66 since re-compiling the C file may overwrite the .SRC file. You may use the SRC directive as the first line in the file. For example:
Or, you may use it on the command line:
MORE INFORMATIONSEE ALSO
Last Reviewed: Thursday, February 25, 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.