Pop Top of Stack to Data Memory
POPD
7-137
Assembly Language Instructions
Syntax POPD
dma
Direct addressing
POPD
ind
[, AR
n
] Indirect addressing
Operands dma: 7 LSBs of the data-memory address
n: Value from 0 to 7 designating the next auxiliary register
ind: Select one of the following seven options:
* *+ *– *0+ *0– *BR0+ *BR0–
POPD
dma
1514131211109876543210
1
00010100 dma
POPD
ind
[,AR
n
]
1514131211109876543210
1
00010101 ARU N NAR
Note: ARU, N, and NAR are defined in Section 6.3,
Indirect Addressing Mode
(page 6-9).
Execution Increment PC, then ...
(TOS) → data-memory address
Pop stack one level
Status Bits None
Description The value from the top of the stack is transferred into the data-memory location
specified by the instruction. In the lower seven locations of the stack, the val-
ues are copied up one level. The stack operation is explained in the description
for the POP instruction. No provision exists to check stack underflow.
Words 1
Cycles for a Single POPD Instruction
Program
Operand ROM DARAM SARAM External
DARAM 1 1 1 1+p
SARAM 1 1 1, 2
†
1+p
External 2+d 2+d 2+d 4+d+p
†
If the operand and the code are in the same SARAM block
Opcode
Cycles