Chapter 16. Assembly Projects and Mixed-Assembly and C Projects

Project Development in Assembly

In addition to C language projects, you can also program the Cortex-M0 microcontrollers in assembly language. The same development tools for C programming are used; for example, the Keil MDK, the ARM RealView Development Suite (RVDS), or the GNU tool chain can all be used to develop assembly projects.
There are a number of reasons for using assembly language for programming, or using assembly in a part of a project:
• To allow the direct manipulation of stack memory (e.g., embedded OS development) for program operation that requires it
• To optimize the maximum speed/performance for specific hardware
• To reuse the assembly code from other projects
• To learn ...

Get The Definitive Guide to the ARM Cortex-M0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.