Freescale-semiconductor StarCore SC140 Uživatelský manuál Strana 220

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 760
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 219
5-40 SC140 DSP Core Reference Manual
Working Modes
The EXP bit in the SR is set(if not already), thereby enabling the Exception Stack Pointer (ESP) as
the active SP.
The PC and previous SR are pushed on the active (ESP) stack.
The PC jumps to the Vector Base Address (VBA) + Exception Offset Address. For example,
executing a TRAP instruction causes the core to enter an Exception state and begin executing
instructions at VBA + 0x00, since the TRAP instruction has an exception offset address of 0x00.
If choosing to prepare the return values on the stack explicitly to perform this transition, the programmer
should be aware that in Normal mode RTE uses the active stack (NSP).
Zobrazit stránku 219
1 2 ... 215 216 217 218 219 220 221 222 223 224 225 ... 759 760

Komentáře k této Příručce

Žádné komentáře