MOV PL, loc16
6-178
MOV PL, loc16 Load the Low Half of the P Register
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
MOVL PL, loc16 0010 0111 LLLL LLLL X − 1
Operands PL Lower 16 bits of the product register (P)
loc16 Addressing mode (see Chapter 5)
Description 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;
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)