Contents
xiContents
5.2 Addressing Modes Select Bit (AMODE) 5-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3 Assembler/Compiler Tracking of AMODE Bit 5-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.4 Direct Addressing Modes (DP) 5-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.5 Stack Addressing Modes (SP) 5-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.6 Indirect Addressing Modes 5-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.6.1 C28x Indirect Addressing Modes (XAR0 to XAR7) 5-10. . . . . . . . . . . . . . . . . . . . . .
5.6.2 C2xLP Indirect Addressing Modes (ARP, XAR0 to XAR7) 5-12. . . . . . . . . . . . . . . .
5.6.3 Circular Indirect Addressing Modes (XAR6, XAR1) 5-21. . . . . . . . . . . . . . . . . . . . . .
5.7 Register Addressing Modes 5-25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.7.1 32-Bit Register Addressing Modes 5-25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.7.2 16-Bit Register Addressing Modes 5-26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.8 Data/Program/IO Space Immediate Addressing Modes 5-28. . . . . . . . . . . . . . . . . . . . . . . . .
5.9 Program Space Indirect Addressing Modes 5-30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.10 Byte Addressing Modes 5-31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.11 Alignment of 32-Bit Operations 5-33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6 C28x Assembly Language Instructions 6-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Presents summaries of the instruction set, defines special symbols and notations used, and
describes each instruction in detail in alphabetical order.
6.1 Instruction Set Summary (Organized by Function) 6-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.2 Register Operations 6-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7 Emulation Features 7-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Explains features supported by the T320C2800 CPU for testing and debugging programs.
7.1 Overview of Emulation Features 7-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.2 Debug Interface 7-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.3 Debug Terminology 7-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.4 Execution Control Modes 7-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.4.1 Stop Mode 7-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.4.2 Real-Time Mode 7-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.4.3 Summary of Stop Mode and Real-Time Mode 7-11. . . . . . . . . . . . . . . . . . . . . . . . . .
7.5 Aborting Interrupts With the ABORTI Instruction 7-15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.6 DT-DMA Mechanism 7-16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.7 Analysis Breakpoints, Watchpoints, and Counter(s) 7-19. . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.7.1 Analysis Breakpoints 7-19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.7.2 Watchpoints 7-19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.7.3 Benchmark Counter/Event Counter(s) 7-20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.7.4 Typical Analysis Unit Configurations 7-21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.8 Data Logging 7-23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.8.1 Creating a Data Logging Transfer Buffer 7-23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.8.2 Accessing the Emulation Registers Properly 7-26. . . . . . . . . . . . . . . . . . . . . . . . . . .
7.8.3 Data Log Interrupt (DLOGINT) 7-27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.8.4 Examples of Data Logging 7-28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.9 Sharing Analysis Resources 7-30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .