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 #149 background imageLoading...
Page #149 background image
Register Addressing Modes
5-25C28x Addressing Modes
5.7 Register Addressing Modes
This section includes register addressing modes for 32-bit and 16-bit registers.
5.7.1 32-Bit Register Addressing Modes
AMODE ”loc32” Syntax Description
X @ACC Access contents of 32-bit ACC register.
When the ”@ACC” register is the destination operand, this may affect
the Z,N,V,C,OVC flags.
Example(s):
MOVL XAR6,@ACC ; Load XAR6 with contents of ACC
MOVL @ACC,XT ; Load ACC with contents of XT register
ADDL ACC,@ACC ; ACC = ACC + ACC
AMODE ”loc32” Syntax Description
X @P Access contents of 32-bit P register.
Example(s):
MOVL XAR6,@P ; Load XAR6 with contents of P
MOVL @P,XT ; Load P with contents of XT register
ADDL ACC,@P ; ACC = ACC + P
AMODE ”loc32” Syntax Description
X @XT Access contents of 32-bit XT register.
Example(s):
MOVL XAR6,@XT ; Load XAR6 with contents of XT
MOVL P,@XT ; Load P with contents of XT register
ADDL ACC,@XT ; ACC = ACC + XT
AMODE ”loc32” Syntax Description
X @XARn Access contents of 32-bit XARn registers.
Example(s):
MOVL XAR6,@XAR2 ; Load XAR6 with contents of XAR2
MOVL P,@XAR2 ; Load P with contents of XAR2 register
ADDL ACC,@XAR2 ; ACC = ACC + XAR2
Note: When writing assembly code, the “@” symbol in front of the register is optional. For example: “MOVL ACC,@P” or
“MOVL ACC,P”. The disassembler will use the @ to indicate operands that are “loc16” or “loc32”. For example,
MOVL ACC, @P is the MOVL ACC, loc32 instruction and MOVL @ACC, P is the MOVL loc32, P instruction.

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