![background image](http://html1.mh-extra.com/html/texas-instruments/tms320c28x/tms320c28x_reference-manual_1097071127.webp)
Types of Addressing Modes
5-3
C28x Addressing Modes
An example C28x instruction description, which uses the above, would be:
-
ADD AL,loc16
Take the 16-bit contents of AL register, add the contents of 16-bit location
specified by the ”loc16” field and store the contents in AL register.
-
ADDL loc32,ACC
Take the 32-bit contents of the location pointed to by the ”loc32” field, add
the contents of the 32-bit ACC register, and store the result back into the
location specified by the ”loc32” field.
Other types of addressing modes supported are:
-
Data/Program/IO Space Immediate Addressing Modes:
In this mode, the address of the memory operand is embedded in the in-
struction.
-
Program Space Indirect Addressing Modes:
Some instructions can access a memory operand located in program
space using an indirect pointer. Since memory is unified on the C28x CPU,
this enables the reading of two operands in a single cycle.
Only a small number of instructions use the above modes and typically they
are in combination with the ”loc16/loc32” modes.
The following sections contain detailed descriptions of the addressing modes
with example instructions. For more information about the instructions shown
in examples throughout this chapter, see
Chapter 6, Assembly Language In-
structions
.
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...