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.
Содержание TMS320C28x
Страница 30: ...1 12...
Страница 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Страница 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Страница 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Страница 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...
Страница 585: ...This page intentionally left blank 7 32 This page intentionally left blank...