www.ti.com
TMS320C6xxx Rules and Guidelines
In addition, no algorithm may ever directly manipulate the cache control registers. It is important to realize that
5.3.4 Register Conventions
This section describes the rules and guidelines that apply to the use of the TMS320C6xxx
The table below describes all of the registers that may be accessed by an algorithm.
Register | Use | Type |
AMR=0 | Address mode register | Init (local) |
General purpose | Scratch (local) | |
General purpose | Preserve (local) | |
A15 | Frame pointer | Preserve (local) |
C64x general purpose | Scratch (local) | |
General purpose | Scratch (local) | |
General purpose | Preserve (local) | |
B14 | Data page pointer | Preserve (local) |
B15 | Stack pointer | Preserve (local) |
C64x general purpose | Scratch (local) | |
CSR | Control and status register | Preserve |
ICR | Interrupt clear register | Not accessible (global) |
IER | Interrupt enable register | |
IFR | Interrupt flag register | |
IRP(1) | Interrupt return pointer | Scratch (global) |
ISR | Interrupt set register | Not accessible (global) |
ISTP | Interrupt service table pointer | |
NRP | ||
PCE1 | Program counter | |
FADCR | C67xx floating point control register | Preserve (local) |
FAUCR | C67xx floating point control register | Preserve (local) |
FMCR | C67xx floating point control register | Preserve (local) |
(1)IRP may be used as a
5.3.5Status Register
The C6xxx contains a status register, CSR. This status register is further divided into several distinct fields. Although each field is often thought of as a separate register, it is not possible to access these fields individually. For example, in order to set one field it is necessary to set all fields in the same status register. Therefore, it is necessary to treat the status registers with special care; if any field of a status register is of type Preserve or
| CSR Field | Use | Type |
| SAT | Saturation bit | Scratch (local) |
| CPUID | Identifies CPU | |
| RevId | Identifies CPU revision | |
| GIE | Global interrupt enable bit | |
| PGIE | Previous GIE value. | |
48 |
| SPRU352G | |
|
|
| Submit Documentation Feedback |