Texas Instruments TMS320C28x Reference Manual page 334

Dsp cpu and instruction set
Table of Contents

Advertisement

MOV PH, loc16
SYNTAX OPTIONS
MOV PH, loc16
Operands
PH
loc16
Description
Flags and
Modes
Repeat
Example
; Swap the contents of AH and AL:
MOV
PH,@AL
MOV
PL,@AH
MOV
ACC,@P
0010 1111 LLLL LLLL
Upper 16 bits of the product register (P)
Addressing mode (see Chapter 5)
Load the high 16 bits of the P register (PH) with the 16-bit location pointed to
by the "loc16" addressing mode; leave the lower 16 bits (PL) unchanged:
PH = [loc16];
PL = unchanged;
None
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
; Load PH with AL
; Load PL with AH
; Load ACC with P (AH and AL swapped)
Load the High Half of the P Register
OPCODE
OBJMODE
MOV PH, loc16
RPT
CYC
X
1
6-177

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?

Table of Contents

Save PDF