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 #151 background imageLoading...
Page #151 background image
Register Addressing Modes
5-27C28x Addressing Modes
AMODE ”loc16” Syntax Description
X @PH Access contents of 16-bit PH register.
PL register contents are un-affected.
Example(s):
MOV PL,@PH ; Load PL with contents of PH
ADD AL,@PH ; AL = AL + PH
MOV T,@PH ; Load T with contents of PH
AMODE ”loc16” Syntax Description
X
@TH
Access contents of 16-bit TH register.
TL register contents are unaffected.
Example(s):
MOV PL,@T ; Load PL with contents of T
ADD AL,@T ; AL = AL + T
MOVZ AR4,@T ; Load AR4 with contents of T, AR4H = 0
AMODE ”loc16” Syntax Description
X
@SP
Access contents of 16-bit SP register.
Example(s):
MOVZ AR4,@SP ; Load AR4 with contents of SP, AR4H = 0
MOV AL,@SP ; Load AL with contents of SP
MOV @SP,AH ; Load SP with contents of AH
AMODE ”loc16” Syntax Description
X
@ARn
Access contents of 16-bit AR0 to AR7 registers.
AR0H to AR7H register contents are unaffected.
Example(s):
MOVZ AR4,@AR2 ; Load AR4 with contents of AR2, AR4H = 0
MOV AL,@AR3 ; Load AL with contents of AR3
MOV @AR5,AH ; Load AR5 with contents of AH, AR5H = unchanged

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