41
2.2.5 ANDC (AND control register)
Operation
CCR
∧
#IMM
→
CCR
Assembly-Language Format
ANDC #xx:8, CCR
Operand Size
Byte
Condition Code
I
H
N
Z
V
C
∆
∆
∆
∆
∆
∆
∆
∆
I:
ANDed with bit 7 of the immediate data.
H:
ANDed with bit 5 of the immediate data.
N:
ANDed with bit 3 of the immediate data.
Z:
ANDed with bit 2 of the immediate data.
V:
ANDed with bit 1 of the immediate data.
C:
ANDed with bit 0 of the immediate data.
Description
This instruction ANDs the condition code register (CCR) with immediate data and places the
result in the condition code register. Bits 6 and 4 are ANDed as well as the flag bits.
No interrupt requests are accepted immediately after this instruction. All interrupts, including
the nonmaskable interrupt (NMI), are deferred until after the next instruction.
Instruction Formats and Number of Execution States
Instruction code
Addressing
mode
Mnem.
Operands
1st byte 2nd byte
3rd byte
4th byte
No of
states
Immediate
ANDC
#xx:8, CCR
0
6
IMM
2
Summary of Contents for H8/300L Series
Page 1: ...H8 300L Series Programming Manual ...
Page 6: ...iv ...
Page 8: ...2 ...
Page 11: ......
Page 14: ......
Page 46: ......
Page 48: ......
Page 60: ......
Page 83: ......
Page 116: ......
Page 150: ...144 ...
Page 151: ......
Page 156: ...150 ...