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 #367 background imageLoading...
Page #367 background image
MOVL loc32, XARn
6-210
MOVL loc32, XARn Store 32-bit Auxiliary Register
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
MOVL loc32, XAR0 0011 1010 LLLL LLLL 1 1
MOVL loc32, XAR1 1011 0010 LLLL LLLL 1 1
MOVL loc32, XAR2 1010 1010 LLLL LLLL 1 1
MOVL loc32, XAR3 1010 0010 LLLL LLLL 1 1
MOVL loc32, XAR4 1010 1000 LLLL LLLL 1 1
MOVL loc32, XAR5 1010 0000 LLLL LLLL 1 1
MOVL loc32, XAR6 1100 0010 LLLL LLLL X 1
MOVL loc32, XAR7 1100 0011 LLLL LLLL X 1
Operands loc32 Addressing mode (see Chapter 5)
XARn XAR0 to XAR7, 32-bit auxiliary registers
Description Load the contents of the 32-bit addressed location with the contents of
XARn:
[loc32] = XARn;
Flags and
Modes
N If (loc32 = @ACC), then the load to ACC is tested for a negative condition.
Bit-31 of the ACC register is the sign bit, 0 for positive, 1 for negative. The
negative flag bit is set if the operation on the ACC register generates a
negative value, otherwise it is cleared.
Z If (loc32 = @ACC), then the load to ACC is tested for a zero condition. The bit
is set if the result of the operation on the ACC register generates a 0 value,
otherwise it is cleared
Repeat This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
Example
MOVL @ACC, XAR0 ; Move the 32-bit contents of XAR0 into ACC.
; If bit 31 of the ACC is 1 set N. If
; ACC = 0, set Z.
MOVL *XAR1, XAR7 ; Move the 32-bit contents of XAR7 into the
; location pointed to by XAR1.
MOVL *XAR6++,XAR6 ; Move the 32-bit contents of XAR6 into the
; location pointed to by XAR6. Post-increment
; the contents of XAR6.
MOVL *−−XAR5,XAR5 ; Predecrement the contents of XAR5. Move the
; 32-bit contents of XAR5 into the location
; pointed to by ; XAR5.

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