Skip to Main Content
The Definitive Guide to ARM® Cortex®-M3 and Cortex®-M4 Processors, 3rd Edition
book

The Definitive Guide to ARM® Cortex®-M3 and Cortex®-M4 Processors, 3rd Edition

by Joseph Yiu
October 2013
Intermediate to advanced content levelIntermediate to advanced
864 pages
23h 12m
English
Newnes
Content preview from The Definitive Guide to ARM® Cortex®-M3 and Cortex®-M4 Processors, 3rd Edition
Chapter 20

Assembly and Mixed Language Projects

Abstract

This chapter looks into software development using assembly language and mixed language projects. Topics include how to create assembly language projects with the ARM® tool chain (e.g., ARM DS-5™) and gcc, and various ways to mix assembly code and C code together using inline assembler, embedded assembler, intrinsic functions.

Keywords

Assembly; Embedded assembler; Inline assembler; AAPCS; Intrinsic functions; Idiom; Mixed language; gcc; Keil™

20.1 Use of assembly code in projects

For small projects, it is possible to develop the whole application in assembly language. However, this is rare in application development because:

• It is much harder as you need to have a good understanding of ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Definitive Guide to Arm Cortex-M23 and Cortex-M33 Processors

Definitive Guide to Arm Cortex-M23 and Cortex-M33 Processors

Joseph Yiu

Publisher Resources

ISBN: 9780124080829