EasyManuals Logo

Texas Instruments TMS320C28x User Manual

Texas Instruments TMS320C28x
695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #275 background imageLoading...
Page #275 background image
IRET
6-118
Example
; Full interrupt context Save and Restore:
; Vector table:
INTx: .long INTxService ; INTx interrupt vector
.
.
.
; Interrupt context save:
INTxService: ; ACC, P, T, ST0, ST1, DP, AR0,
; AR1, IER, DPGSTAT registers saved
; on stack.
; Return PC saved on stack.
; IER bit corresponding to INTx
; is disabled.
; ST1(EALLOW bit = 0).
; ST1(LOOP bit = 0).
; ST1(DBGM bit = 1).
; ST1(INTM bit = 1).
PUSH AR1H:AR0H ; Save remaining registers.
PUSH XAR2
PUSH XAR3
PUSH XAR4
PUSH XAR5
PUSH XAR6
PUSH XAR7
PUSH XT
; Interrupt user code:
.
.
.
; Interrupt context restore:
POP XT ; Restore registers.
POP XAR7
POP XAR6
POP XAR5
POP XAR4
POP XAR3
POP XAR2
POP AR1H:AR0H
IRET ; Return from interrupt.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS320C28x and is the answer not in the manual?

Texas Instruments TMS320C28x Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320C28x
CategoryProcessor
LanguageEnglish

Related product manuals