PUSH (PUSH data)
PUSH
<Description>
This instruction pushes data from a 16-bit general register onto the stack and sets condition
code flags according to the data value.
PUSH.W Rn is identical in machine language to MOV.W Rn, @–SP.
<Instruction Formats>
PUSH
Rs
6
D
F
0 rn
6
Addressing
mode
Mnem.
Operands
1st byte
Instruction code
No. of
states
2nd byte
3rd byte
4th byte
<Operation>
Rn
→
@–SP
<Assembly-Language Format>
PUSH
Rn
<Examples>
PUSH R2
<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
—
97
Содержание H8/300 Series
Страница 2: ...H8 300 Programming Manual...