Load Data Page Pointer
LDP
7-83
Assembly Language Instructions
Syntax LDP
dma
Direct addressing
LDP
ind
[, AR
n
] Indirect addressing
LDP #
k
Short immediate
addressing
Operands dma: 7 LSBs of the data-memory address
n: Value from 0 to 7 designating the next auxiliary register
k: 9-bit short immediate value
ind: Select one of the following seven options:
* *+ *– *0+ *0– *BR0+ *BR0–
LDP
dma
1514131211109876543210
0
00011010 dma
LDP
ind
[, AR
n
]
1514131211109876543210
0
00011011 ARU N NAR
Note: ARU, N, and NAR are defined in Section 6.3,
Indirect Addressing Mode
(page 6-9).
LDP #
k
1514131211109876543210
1
011110 k
Execution Increment PC, then ...
Event Addressing mode
Nine LSBs of (data-memory address) → DP Direct or indirect
k → DP Short immediate
Status Bits
Affects
DP
Description The nine LSBs of the contents of the addressed data-memory location or a
9-bit immediate value is loaded into the data page pointer (DP) of status regis-
ter ST0. The DP can also be loaded by the LST instruction.
In direct addressing, the 9-bit DP and the 7-bit value specified in the instruction
(dma) are concatenated to form the 16-bit data-memory address accessed by
the instruction. The DP provides the 9 MSBs, and dma provides the 7 LSBs.
Words 1
Opcode