ARM Cortex R4F Instrukcja Użytkownika Strona 41

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 64
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 63 64

Komentarze do niniejszej Instrukcji

Brak uwag