
Register Conventions
6-10
Table 6
−
1. Register Use and Preservation Conventions
(a) TMS320C2x, TMS320C2xx, and TMS320C5x conventions
Register
Usage
Preserved by Call
AR0
Frame pointer
Yes
AR1
Stack pointer
Yes
AR2
Local variable pointer
No
AR2
−
AR5
Expression analysis
No
AR6
−
AR7
Register variables
Yes
Accumulator
Expression analysis/return values
No
P
Expression analysis
No
T
Expression analysis
No
(b) TMS320C5x-only conventions
Register
Usage
Preserved by Call
INDX
Shadows AR0
Yes
ACCB
Expression analysis
No
TREG1
Expression analysis
No
BRCR
Loop counter
No
PASR/PAER
Block repeat registers
No
Summary of Contents for TMS320C2x
Page 8: ...viii...
Page 69: ...2 47 C Compiler Description...
Page 159: ...6 36...
Page 226: ...8 6...