Copyright © 2006-2008 ARM Limited. All rights reserved.
ARM DDI 0405C
ARMv7-M Architecture Application
Level Reference Manual
ii Copyright © 2006-2008 ARM Limited. All rights reserved. ARM DDI 0405C
Non-Confidential
Unrestricted Access
ARMv7-M Architecture Application Level Reference Manual
Copyright © 2006-2008 ARM Limited. All rights reserved.
Release Information
The following changes have been made to this document.
Proprietary Notice
Words and logos marked with
®
or
™
are registered trademarks or trademarks of ARM Limited in the EU and other
countries, except as otherwise stated below in this proprietary notice. Other brands and names mentioned herein may be
the trademarks of their respective owners.
Neither the whole nor any part of the information contained in, or the product described in, this document may be adapted
or reproduced in any material form except with the prior written permission of the copyright holder.
The product described in this document is subject to continuous developments and improvements. All particulars of the
product and its use contained in this document are given by ARM in good faith. However, all warranties implied or
expressed, including but not limited to implied warranties of merchantability, or fitness for purpose, are excluded.
1. Subject to the provisions set out below, ARM hereby grants to you a perpetual, non-exclusive, nontransferable, royalty
free, worldwide licence to use this ARM Architecture Reference Manual for the purposes of developing; (i) software
applications or operating systems which are targeted to run on microprocessor cores distributed under licence from ARM;
(ii) tools which are designed to develop software programs which are targeted to run on microprocessor cores distributed
under licence from ARM; (iii) or having developed integrated circuits which incorporate a microprocessor core
manufactured under licence from ARM.
2. Except as expressly licensed in Clause 1 you acquire no right, title or interest in the ARM Architecture Reference
Manual, or any Intellectual Property therein. In no event shall the licences granted in Clause 1, be construed as granting
you expressly or by implication, estoppel or otherwise, licences to any ARM technology other than the ARM Architecture
Reference Manual. The licence grant in Clause 1 expressly excludes any rights for you to use or take into use any ARM
patents. No right is granted to you under the provisions of Clause 1 to; (i) use the ARM Architecture Reference Manual
for the purposes of developing or having developed microprocessor cores or models thereof which are compatible in
whole or part with either or both the instructions or programmer's models described in this ARM Architecture Reference
Manual; or (ii) develop or have developed models of any microprocessor cores designed by or for ARM; or (iii) distribute
in whole or in part this ARM Architecture Reference Manual to third parties without the express written permission of
ARM; or (iv) translate or have translated this ARM Architecture Reference Manual into any other languages.
3.THE ARM ARCHITECTURE REFERENCE MANUAL IS PROVIDED "AS IS" WITH NO WARRANTIES
EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF
SATISFACTORY QUALITY, NONINFRINGEMENT OR FITNESS FOR A PARTICULAR PURPOSE.
Change History
Date Issue Confidentiality Change
March 2006 A-01 Non-Confidential beta release (www.arm.com downloadable)
August 2007 B Non-Confidential first release
September 2008 C Non-Confidential, Unrestricted Access Errata updates and clarifications.
ARM DDI 0405C Copyright © 2006-2008 ARM Limited. All rights reserved. iii
Unrestricted Access Non-Confidential
4. No licence, express, implied or otherwise, is granted to LICENSEE, under the provisions of Clause 1, to use the ARM
tradename, in connection with the use of the ARM Architecture Reference Manual or any products based thereon.
Nothing in Clause 1 shall be construed as authority for you to make any representations on behalf of ARM in respect of
the ARM Architecture Reference Manual or any products based thereon.
Where the term ARM is used to refer to the company it means “ARM or any of its subsidiaries as appropriate”.
110 Fulbourn Road Cambridge, England CB1 9NJ
Restricted Rights Legend: Use, duplication or disclosure by the United States Government is subject to the restrictions
set forth in DFARS 252.227-7013 (c)(1)(ii) and FAR 52.227-19
This document is Non-Confidential. The right to use, copy and disclose this document is subject to the licence set out
above.
iv Copyright © 2006-2008 ARM Limited. All rights reserved. ARM DDI 0405C
Non-Confidential
Unrestricted Access
ARM DDI 0405C Copyright © 2006-2008 ARM Limited. All rights reserved. v
Unrestricted Access Non-Confidential
Contents
ARMv7-M Architecture Application Level
Reference Manual
Preface
About this manual ............................................................................... xvi
Using this manual .............................................................................. xvii
Conventions ........................................................................................ xix
Further reading .................................................................................... xx
Feedback ............................................................................................ xxi
Part A Application Level Architecture
Chapter A1 Introduction
A1.1 The ARM Architecture – M profile .................................................... A1-2
Chapter A2 Application Level Programmers’ Model
A2.1 About the Application level programmers’ model ............................. A2-2
A2.2 ARM core data types and arithmetic ................................................ A2-3
A2.3 Registers and execution state ........................................................ A2-11
A2.4 Exceptions, faults and interrupts .................................................... A2-15
A2.5 Coprocessor support ...................................................................... A2-16