2.2.5 ANDC
ANDC (AND Control register)
Logical AND with CCR
Operation
CCR
∧
#IMM
→
CCR
Assembly-Language Format
ANDC
#xx:8, CCR
Operand Size
Byte
Condition Code
I:
Stores the corresponding bit of the result.
UI: Stores the corresponding bit of the result
H: Stores the corresponding bit of the result.
U: Stores the corresponding bit of the result
N: Stores the corresponding bit of the result.
Z: Stores the corresponding bit of the result.
V: Stores the corresponding bit of the result.
C: Stores the corresponding bit of the result.
I
UI
H
U
N
Z
V
C
↕
↕
↕
↕
↕
↕
↕
↕
Description
This instruction ANDs the contents of the condition-code register (CCR) with immediate data and
stores the result in the condition-code register. No interrupt requests, including NMI, are accepted
immediately after execution of this instruction.
Operand Format and Number of States Required for Execution
Notes
Instruction Format
1st byte
2nd byte
3rd byte
4th byte
Immediate
ANDC
#xx:8, CCR
0
6
IMM
2
No. of
States
Addressing
Mode
Mnemonic
Operands
50