MOV DP, #10bit
6-162
MOV DP, #10bit Load Data-Page Pointer
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
MOV DP, #10bit 1111 10CC CCCC CCCC X − 1
Operands DP Data page register
#10bit 10-bit immediate constant value
Description Load the data page register with a 10-bit constant leaving the upper 6 bits
unchanged:
DP(9:0) = 10bit;
DP(15:10) = 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
MOV
DP,
#VarA
; Load DP with the data page that
; contains VarA. Assumes VarA is in
; the lower 0x0000 FFC0 of memory.
; DP(15:10) is left unchanged.