![background image](http://html1.mh-extra.com/html/texas-instruments/tms320c28x/tms320c28x_reference-manual_1097071130.webp)
Addressing Modes Select Bit (AMODE)
5-6
1. Addressing Modes for “loc16” or “loc32”
AMODE = 1
AMODE = 0
”loc16/loc32” Syntax
8-Bit Decode
”loc16/loc32” Syntax
8-Bit Decode
16-Bit Register Addressing Modes (AR0 to AR7, AH, AL, PH, PL, TH, SP):
1 0 100 AAA
1 0 101 000
1 0 101 001
1 0 101 010
1 0 101 011
1 0 101 100
1 0 101 101
@ARn
@AH
@AL
@PH
@PL
@TH
@SP
1 0 100 AAA
1 0 101 000
1 0 101 001
1 0 101 010
1 0 101 011
1 0 101 100
1 0 101 101
@ARn
@AH
@AL
@PH
@PL
@TH
@SP
In the ”C28x Indirect” addressing modes, the auxiliary register pointer used in
the addressing mode is implicitly specified. In the ”C2xLP Indirect” addressing
modes, a 3-bit pointer called the auxiliary register pointer (ARP) is used to se-
lect which of the auxiliary registers is currently used and which pointer is used
in the next operation.
The examples below illustrate the differences between the ”C28x Indirect” and
”C2xLP Indirect” addressing modes:
-
ADD AL,*XAR4++
Read the contents of 16-bit memory location pointed to by register XAR4,
add the contents to AL register. Post-increment the contents of XAR4 by 1.
-
ADD AL,*++
Assume ARP pointer in ST1 contains the value 4. Read the contents of
16-bit memory location pointed to by register XAR4, add the contents to
AL register. Post-increment the contents of XAR4 by 1.
-
ADD AL,*++,ARP5
Assume ARP pointer in ST1 contains the value 4. Read the contents of
16-bit memory location pointed to by register XAR4, add the contents to
AL register. Post-increment the contents of XAR4 by 1. Set the ARP point-
er to 5. Now it points to XAR5.
On the C28x instruction syntax, the destination operand is always on the left
and the source operands are always on the right.
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...