STC (STore from Control register)
<Operation>
CCR → Rd
<Assembly-Language Format>
STC CCR, Rd
<Examples>
STC CCR, R6H
<Operand Size>
Byte
<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>
Addressing
mode
Register direct
Mnem.
Operands
STC
CCR, Rd
<Condition Code>
I
— — — — — — — —
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.
Instruction code
1st byte
2nd byte
0
2
0
rd
109
H
N
Z
3rd byte
4th byte
STC
V
C
No. of
states
2