We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello How can i write mixed assembly and c/c++ codes in keil mdk uvision 5.14? Please provide some examples. Thanks.
Most projects have a startup_arch.s file and a system_arch.c file, review those.
The Cortex-Mx ones should have assembler code calling a C based SystemInit() function.
Review some of the texts addressing C and assembler with ARM, and Keil, from the last decade, or so, you'll find most still have salient detail of import/export directives, and stack/register passing conventions.
Any prior experience with assembler we can leverage against?
Any particular ARM processor?
this document talks about this on page 70 or so
infocenter.arm.com/.../DUI0203J_rvct_developer_guide.pdf
Believe it is still correct for the newer compilers