Nonmaskable Interrupts
3-20
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Table 3
−
4. Register Pairs Saved and SP Positions for Context Saves
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Save
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Register
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Bit 0 of Storage Address
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Save
Operation
†
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Register
Pairs
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
SP Starts at Odd Address
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
SP Starts at Even Address
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
1
←
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
1
1st
ST0
0
0
←
T
1
1
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
2nd
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
AL
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
0
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
0
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
AH
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
1
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
1
3rd
PL
‡
0
0
PH
1
1
4th
AR0
0
0
AR1
1
1
5th
ST1
0
0
DP
1
1
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
6th
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
IER
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
0
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
0
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DBGSTAT
§
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
1
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
1
7th
Return address
(low half)
0
0
Return address
(high half)
1
1
0
←
SP position after save
0
1
1
←
SP position after save
†
All registers are saved as pairs, as shown.
‡
The P register is saved with 0 shift (CPU ignores current state of the product shift mode bits, PM, in status register 0).
§
The DBGSTAT register contains special emulation information.
7)
Set INTM and DBGM. Clear LOOP, EALLOW, and IDLESTAT.
All these
bits are in status register ST1 (described in section 2.4 on page 2-34). By
setting INTM to 1, the CPU prevents maskable interrupts from disturbing
the ISR. If you wish to nest interrupts, have the ISR clear the INTM bit. By
setting DBGM to 1, the CPU prevents debug events from disturbing time-
critical code in the ISR. If you do not want debug events blocked, have the
ISR clear DBGM.
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...