Indirect Addressing Modes
5-21
C28x Addressing Modes
5.6.3 Circular Indirect Addressing Modes (XAR6, XAR1)
AMODE
”loc16/loc32” Syntax
Description
0
*AR6%++
32bitDataAddr(31:0) = XAR6
if( XAR6(7:0) == XAR1(7:0) )
{
XAR6(7:0) = 0x00
XAR6(15:8) = unchanged
}
else
{
if(16-bit data), XAR6(15:0) =+ 1
if(32-bit data), XAR6(15:0) =+ 2
}
XAR6(31:16) = unchanged
ARP = 6
1, buffer size is determined by the 8 LSBs of AR1 or
AR1[7:0]. Specifically, the buffer size is AR1[7:0] +1. When AR1[7:0] is 255,
then the buffer size is at its maximum size of 256 words.
XAR6 points to the current address in the buffer. The top of the buffer must be
at an address where the 8 LSBs are all 0s.
If one of the instructions accessing the circular buffer performs a 32-bit opera-
tion, make sure XAR6 and AR1 are both even before the buffer is accessed.
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...