MOV PH, loc16
6-177
MOV PH, loc16
Load the High Half of the P Register
SYNTAX OPTIONS
OPCODE
OBJMODE
RPT
CYC
MOV PH, loc16
0010 1111 LLLL LLLL
X
−
1
Operands
PH
Upper 16 bits of the product register (P)
loc16
Addressing mode (see Chapter 5)
Description
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;
Flags and
Modes
None
Repeat
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
Example
; Swap the contents of AH and AL:
MOV PH,@AL
; Load PH with AL
MOV PL,@AH
; Load PL with AH
MOV ACC,@P
; Load ACC with P (AH and AL swapped)
Summary of Contents for TMS320C28x
Page 30: ...1 12...
Page 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Page 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Page 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Page 509: ...SUBL ACC P PM 6 352 SUBL ACC P PM ACC S B 11 M X 4 MOVH Y ACC 5 Store Q15 result into Y...
Page 585: ...This page intentionally left blank 7 32 This page intentionally left blank...