STC (STore from Control register)
STC
<Description>
This instruction copies the condition code register (CCR) to a specified general register. Bits 6
and 4 are copied as well as the flag bits.
<Instruction Formats>
<Operation>
CCR
→
Rd
<Assembly-Language Format>
STC
CCR, Rd
<Examples>
STC CCR, R6H
<Operand Size>
Byte
<Condition Code>
I: Previous value remains unchanged.
H: Previous value remains unchanged.
N: Previous value remains unchanged.
Z: Previous value remains unchanged.
V: Previous value remains unchanged.
C: Previous value remains unchanged.
I
H
N
Z
V
C
—
—
—
— —
— —
—
Register direct
STC
CCR, Rd
0
2
0
rd
2
Addressing
mode
Mnem.
Operands
1st byte
Instruction code
No. of
states
2nd byte
3rd byte
4th byte
109
Summary of Contents for H8/300 Series
Page 2: ...H8 300 Programming Manual...