UM012811-0904
eZ8 CPU Instruction Set Description
eZ8 CPU
User Manual
147
POP
POP
POP dst
Operation
dst
←
@SP
SP
←
SP + 1
Description
Execution of the POP instruction loads the source value into the destination. The Stack
Pointer provides the Register file address of the source data.
Flags
Attributes
Escaped Mode Addressing
Using Escaped Mode Addressing, address modes R or IR specifies a Working Register. If
the destination address is prefixed by
EH
(1110B), a Working Register is inferred. For
example, if Working Register R12 (
CH
) is the desired destination operand, use
ECH
as the
destination operand in the opcode. To access Registers with addresses
E0H
to
EFH
, either
set the Working Group Pointer, RP[7:4], to
EH
or use indirect addressing.
C
Unaffected.
Z
Unaffected.
S
Unaffected.
V
Unaffected.
D
Unaffected.
H
Unaffected.
Mnemonic
Destination
Opcode (Hex)
Operand 1
Operand 2
Operand 3
POP
R1
50
R1
—
—
POP
@R1
51
R1
—
—