Globally Enabling and Disabling Interrupts

Example 5−2. Code Sequence to Disable Maskable Interrupts Globally

MVC

CSR,B0

; get CSR

AND

-2,B0,B0

; get ready to clear GIE

MVC

B0,CSR

; clear GIE

 

 

 

Example 5−3. Code Sequence to Enable Maskable Interrupts Globally

MVC

CSR,B0

; get CSR

OR

1,B0,B0

; get ready to set GIE

MVC

B0,CSR

; set GIE

 

 

 

5-12

Interrupts

SPRU733

Page 407
Image 407
Texas Instruments TMS320C67X/C67X+ DSP manual MVC CSR,B0