EasyManuals Logo

Texas Instruments TMS320C28x User Manual

Texas Instruments TMS320C28x
695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #127 background imageLoading...
Page #127 background image
Types of Addressing Modes
5-3C28x 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.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS320C28x and is the answer not in the manual?

Texas Instruments TMS320C28x Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320C28x
CategoryProcessor
LanguageEnglish

Related product manuals