POP (POP data)
POP
<Description>
This instruction pops data from the stack to a 16-bit general register and sets condition code
flags according to the data value.
POP.W Rn is identical in machine language to MOV.W @SP+, Rn.
<Instruction Formats>
<Operation>
@SP+
→
Rn
<Assembly-Language Format>
POP
Rn
<Examples>
POP R1
<Operand Size>
Word
<Condition Code>
I: Previous value remains unchanged.
H: Previous value remains unchanged.
N: Set to "1" if the data value is negative;
otherwise cleared to "0."
Z: Set to "1" if the data value is zero;
otherwise cleared to "0."
V: Cleared to "0."
C: Previous value remains unchanged.
I
H
N
Z
V
C
—
—
—
—
↕
↕
0
—
POP
Rd
6
D
7
0 rn
6
Addressing
mode
Mnem.
Operands
1st byte
Instruction code
No. of
states
2nd byte
3rd byte
4th byte
96
Содержание H8/300 Series
Страница 2: ...H8 300 Programming Manual...