2.2.34 (1) LDC (B)
LDC (LoaD to Control register)
Load CCR
Operation
(EAs)
→
CCR
Assembly-Language Format
LDC.B
<EAs>, CCR
Operand Size
Byte
Condition Code
I:
Loaded from the corresponding bit in the
source operand.
H: Loaded from the corresponding bit in the
source operand.
N: Loaded from the corresponding bit in the
source operand.
Z:
Loaded from the corresponding bit in the
source operand.
V: Loaded from the corresponding bit in the
source operand.
C: Loaded from the corresponding bit in the
source operand.
I
UI
H
U
N
Z
V
C
↕
↕
↕
↕
↕
↕
↕
↕
Description
This instruction loads the source operand into the CCR.
Note that no interrupts, even NMI interrupts, will be accepted at the point that this instruction
completes.
Available Registers
Rs: R0L to R7L, R0H to R7H
Operand Format and Number of States Required for Execution
Notes
Instruction Format
1st byte
2nd byte
3rd byte
4th byte
Immediate
LDC.B
#xx:8, CCR
0
7
IMM
2
Register direct
LDC.B
Rs, CCR
0
3
0
rs
2
No. of
States
Addressing
Mode
Mnemonic
Operands
108