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
Need help?
Do you have a question about the TMS320C28x and is the answer not in the manual?