O'Reilly logo

The Definitive Guide to ARM® Cortex®-M0 and Cortex-M0+ Processors, 2nd Edition by Joseph Yiu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 21

Mixed Language Projects (C/C++ with Assembly)

Abstract

This chapter explains the needs for mixed language projects, and how simple assembly code files can be created for ARM®, IAR, and GNU Compiler Collection tool chains. It also covers various ways to merge assembly code into C language projects, followed by a quick introduction of the ARM Architecture Procedure Call standard specification which defines the interface between C and assembly codes, as well as program code examples.

Keywords

Assembly code file; Assembly functions for text I/O; Data memory allocation; Embedded assembler; Generic assembly functions for interrupt management; Inline assembler; Intrinsic functions; Procedure Call Standard for ARM® Architecture (AAPCS); The needs ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required