Texas Instruments TMS320C28x Reference Manual page 335

Dsp cpu and instruction set
Table of Contents

Advertisement

MOV PL, loc16
MOV PL, loc16
SYNTAX OPTIONS
MOVL PL, loc16
Operands
PL
loc16
Description
Flags and
Modes
Repeat
Example
; Swap the contents of AH and AL:
MOV
MOV
MOV
6-178
Lower 16 bits of the product register (P)
Addressing mode (see Chapter 5)
Load the high 16 bits of the P register (PL) with the 16-bit location pointed to
by the "loc16" addressing mode; leave the lower 16 bits (PH) unchanged:
PL = [loc16];
PH = unchanged;
None
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
PH,@AL
; Load PH with AL
PL,@AH
; Load PL with AH
ACC,@P
; Load ACC with P (AH and AL swapped)
Load the Low Half of the P Register
OPCODE
0010 0111 LLLL LLLL
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