MOVL P,loc32
SYNTAX OPTIONS
MOVL P,loc32
Operands
P
loc32
Description
Flags and
Modes
Repeat
Example
; Add 64-bit VarA, VarB and VarC, and store result in VarD:
MOVL
MOVL
ADDUL P,@VarB+0
ADDCL ACC,@VarB+2
ADDUL P,@VarC+0
ADDCL ACC,@VarC+2
MOVL
MOVL
Product register
Addressing mode (see Chapter 5)
Load the P register with the 32-bit location pointed to by the "loc32"
addressing mode:
P = [loc32];
None
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
P,@VarA+0
; Load P with low 32 bits of VarA
ACC,@VarA+2
; Load ACC with high 32 bits of VarA
; Add to P unsigned low 32 bits of VarB
; Add to ACC with carry high 32 bits of VarB
; Add to P unsigned low 32 bits of VarC
; Add to ACC with carry high 32 bits of VarC
@VarD+0,P
; Store low 32-bit result into VarD
@VarD+2,ACC
; Store high 32-bit result into VarD
OPCODE
1010 0011 LLLL LLLL
MOVL P,loc32
Load the P Register
OBJMODE
RPT
CYC
1
−
1
6-213
Need help?
Do you have a question about the TMS320C28x and is the answer not in the manual?