ARM Cortex-M3 Technical Reference Manual page 57

R2p0
Hide thumbs Also See for Cortex-M3:
Table of Contents

Advertisement

ARM DDI 0337G
Unrestricted Access
Base register update in LDM and STM operations
There are cases when an LDM or STM updates the base register:
When the instruction specifies base register write-back, the base register changes
to the updated address. An abort restores the original base value.
When the base register is in the register list of an LDM, and is not the last register
in the list, the base register changes to the loaded value.
An LDM/STM is restarted rather than continued if:
the LDM/STM faults
the LDM/STM is inside an IT.
If an LDM has completed a base load, it is continued from before the base load.
Saved xPSR bits
On entering an exception, the processor saves the combined information from the three
status registers on the stack. The stacked xPSR also contains information about whether
the stack was 8-byte aligned or not depending on the value of STKALIGN in the
Configuration Control Register. This information is stored in bit [9] of the xPSR on the
stack, and it is a 1 if the stack was forced to be 8-byte aligned.
Copyright © 2005-2008 ARM Limited. All rights reserved.
Non-Confidential
Programmer's Model
2-9

Advertisement

Table of Contents
loading

Table of Contents