2) Pop (L) - Hitachi H8/300H Series Programming Manual

Table of Contents

Advertisement

2.2.45 (2) POP (L)

POP (POP data)
Operation
@SP+ → ERn
Assembly-Language Format
POP.L ERn
Operand Size
Longword
Description
This instruction restores data from the stack to a 32-bit general register ERn, tests the restored
data, and sets condition-code flags according to the result.
Available Registers
ERn: ER0 to ER7
Operand Format and Number of States Required for Execution
Addressing
Mnemonic
Mode
POP.L
Notes
POP.L ERn is identical to MOV.L @SP+, ERn.
Operands
1st byte
ERn
0
1
144
Condition Code
I
UI H
U
— — — —
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: Always cleared to 0.
C: Previous value remains unchanged.
Instruction Format
2nd byte
3rd byte
0
0
6
Pop Data from Stack
N
Z
V
C
0
No. of
States
4th byte
D
7
0 ern
10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents