INTR
6-115
Part of the operation involves saving pairs of 16-bit CPU registers onto the
stack pointed to by the SP register. Each pair of registers is saved in a
single 32-bit operation. The register forming the low word of the pair is
saved first (to an even address); the register forming the high word of the
pair is saved next (to the following odd address). For example, the first
value saved is the concatenation of the T register and the status register
ST0 (T:ST0). ST0 is saved first, then T.
This instruction should not be used with vectors 1
−
12 when the peripheral
interrupt expansion (PIE) block is enabled.
if(not the NMI vector)
Clear the corresponding IFR bit;
Flush the pipeline;
temp = PC + 1;
Fetch specified vector;
SP = SP + 1;
[SP] = T:ST0;
SP = SP + 2;
[SP] = AH:AL;
SP = SP + 2;
[SP] = PH:PL;
SP = SP + 2;
[SP] = AR1:AR0;
SP = SP + 2;
[SP] = DP:ST1;
SP = SP + 2;
[SP] = DBGSTAT:IER;
SP = SP + 2;
[SP] = temp;
Clear corresponding IER bit;
INTM = 0; // disable INT1−INT14, DLOGINT, RTOSINT
DBGM = 1; // disable debug events
EALLOW = 0; // disable access to emulation registers
LOOP = 0; // clear loop flag
IDLESTAT = 0; //clear idle flag
PC = fetched vector;
Flags and
DBGM
Debug events are disabled by setting the DBGM bit.
g
Modes
INTM
Setting the INTM bit disables maskable interrupts.
EALLOW
EALLOW is cleared to disable access to protected registers.
LOOP
The loop flag is cleared.
IDLE-
STAT
The idle flag is cleared.
Repeat
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
Summary of Contents for TMS320C28x
Page 30: ...1 12...
Page 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Page 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Page 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Page 509: ...SUBL ACC P PM 6 352 SUBL ACC P PM ACC S B 11 M X 4 MOVH Y ACC 5 Store Q15 result into Y...
Page 585: ...This page intentionally left blank 7 32 This page intentionally left blank...