Texas Instruments TMS320C28x Reference Manual page 361

Dsp cpu and instruction set
Table of Contents

Advertisement

MOVL ACC,loc32
MOVL ACC,loc32
SYNTAX OPTIONS
MOVL ACC,loc32
Operands
ACC
loc32
Description
Flags and
N
Modes
Z
Repeat
Example
Calculate the 32-bit value: VarC = VarA + VarB;
MOVL
ADDL
MOVL
6-204
Accumulator register
Addressing mode (see Chapter 5)
Load the ACC register with the content of the location pointed to by the
"loc32" addressing mode.
ACC = [loc32];
After the load, the N flag is set if bit 31 of the ACC is 1, else N is cleared.
After the load, the Z flag is set if the ACC is zero, else Z is cleared.
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
ACC,@VarA
ACC,@VarB
@VarC,ACC
Load Accumulator With 32 Bits
OPCODE
0000 0110 LLLL LLLL
; Load ACC with contents of VarA
; Add to ACC the contents of VarB
; Store result into VarC
OBJMODE
RPT
CYC
X
1

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents

Save PDF