Exception Control Transfer; Table 5-9 Transferring To Exception Processing - ARM Cortex-M3 Technical Reference Manual

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

Advertisement

Exceptions
5.10

Exception control transfer

Processor activity at
assertion of
exception
Non-memory instruction
Load/store single
Load/store multiple
Exception entry
Tail-chaining
Exception postamble
5-24
The processor transfers control to an ISR following the rules shown in Table 5-9.
Transfer to exception processing
Takes exception on completion of cycle, before the next instruction.
Completes or abandons depending on bus status. Takes exception on the next cycle, depending
on the bus wait states.
Completes or abandons current register and sets continuation counter into EPSR. Takes
exception on the next cycle, depending on bus permission and Interruptible-Continuable
Instruction (ICI) rules. For more information on ICI rules, see the ARMv7-M Architecture
Reference Manual.
This is a late-arriving exception. If it has higher priority than the exception being entered, then
the processor cancels the exception entry actions and takes the late-arriving exception. Late
arriving results in a decision change (vector table) at interrupt processing time. When you
enter a new handler, that is the first ISR instruction, normal pre-emption rules apply, and it is
no longer classed as a late-arrival.
This is a late-arriving exception. If it has higher priority than the one being tail-chained, the
processor cancels the preamble and takes the late-arriving exception.
If the new exception has higher priority than the stacked exception to which the processor is
returning, the processor tail-chains the new exception.
Copyright © 2005-2008 ARM Limited. All rights reserved.

Table 5-9 Transferring to exception processing

Non-Confidential
ARM DDI 0337G
Unrestricted Access

Advertisement

Table of Contents
loading

Table of Contents