User`s guide
Hardware Interrupts
Thread Scheduling 4-25
Example 4-5. HWI Example on C55x Platform
Example 4-6. HWI Example on C28x Platform
4.2.5 Registers
DSP/BIOS registers saved and restored with C functions conform to standard
C compiler code. For more information, either about which registers are
saved and restored, or by the TMS320 functions conforming to the Texas
Instruments C run-time model, see the optimizing compiler userās guide for
your platform.
;
; ======== _DSS_isr ========
;
_DSS_isr:
HWI_enter C55_AR_T_SAVE_BY_CALLER_MASK,
C55_ACC_SAVE_BY_CALLER_MASK,
C55_MISC1_SAVE_BY_CALLER_MASK,
C55_MISC2_SAVE_BY_CALLER_MASK,
C55_MISC3_SAVE_BY_CALLER_MASK,
0FFF7h,0
; macro has ensured āCā convention,
; including SP alignment!
call _DSS_cisr
HWI_exit C55_AR_T_SAVE_BY_CALLER_MASK,
C55_ACC_SAVE_BY_CALLER_MASK,
C55_MISC1_SAVE_BY_CALLER_MASK,
C55_MISC2_SAVE_BY_CALLER_MASK,
C55_MISC3_SAVE_BY_CALLER_MASK,
0FFF7h,0
;
; ======== _DSS_isr ========
;
_DSS_isr:
HWI_enter AR_MASK,ACC_MASK,MISC_MASK,IERDISABLEMASK
lcr _DSS_cisr
HWI_exit AR_MASK,ACC_MASK,MISC_MASK,IERDISABLEMASK










