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

Table of Contents

Advertisement

2.2.46 (2) PUSH (L)

PUSH (PUSH data)
Operation
ERn → @–SP
Assembly-Language Format
PUSH.L ERn
Operand Size
Longword
Description
This instruction pushes data from a 32-bit register ERn onto the stack, tests the saved 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
PUSH.L
Notes
1. PUSH.L ERn is identical to MOV.L ERn, @–SP.
2. When PUSH.L ER7 is executed, the value saved on the stack is the value of ER7 before
execution minus four.
Operands
1st byte
ERn
0
1
146
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
Push Data on Stack
N
Z
V
C
0
No. of
States
4th byte
D
F
0 ern
10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents