ARM Cortex R4F Manuel d'utilisateur Page 41

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 64
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 40
© G.N. Khan ARM Processors/Cores – EE8205: Embedded Computer Systems Page: 41
Exception Handlers and Return
An exception handler (ISR) is a software routine that is executed
when a specific exception condition occurs.
Most, but not all, exception handlers return to the previous code.
Interrupt Stacking
Old SP
SP
PSR
Return Address
LR
R12
R3
R2
R1
R0
Increasing Addresses
Eights words
pushed onto
stack by
exception
response.
Exception return occurs when in Handler
Mode and one of the following
instructions is executed:
POP/LDM includes the PC, or
LDR with PC as the destination, or
BX with any register as the source
Vue de la page 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 63 64

Commentaires sur ces manuels

Pas de commentaire