ARM DUI 0068B
Copyright © 2000, 2001 ARM Limited. All rights reserved.
2-1
Chapter 2
Writing ARM and Thumb Assembly Language
This chapter provides an introduction to the general principles of writing ARM and
Thumb assembly language. It contains the following sections:
•
Introduction
on page 2-2
•
Overview of the ARM architecture
on page 2-3
•
Structure of assembly language modules
on page 2-12
•
Using the C preprocessor
on page 2-19
•
Conditional execution
on page 2-20
•
Loading constants into registers
on page 2-25
•
Loading addresses into registers
on page 2-30
•
Load and store multiple register instructions
on page 2-39
•
Using macros
on page 2-48
•
Describing data structures with MAP and FIELD directives
on page 2-51
•
Using frame directives
on page 2-66.