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

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

Advertisement

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
ARM DDI 0337B
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 next instruction.
Completes or abandons depending on bus status. Takes exception on next cycle,
depending on bus wait states.
Completes or abandons current register and sets continuation counter into EPSR. Takes
exception on 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, 2006 ARM Limited. All rights reserved.

Table 5-9 Transferring to exception processing

Exceptions
5-23

Advertisement

Table of Contents
loading

Table of Contents