MB90610A Series
Table 13 Logical 1 Instructions (Byte/Word) [39 Instructions]
Mnemonic
A, #imm8
#
~
RG
B
Operation
LH AH
I
S
T
N
Z
V
C
RMW
AND
AND
AND
AND
AND
2
2
2
3
0
1
0
2
0
0
0
byte (A) ← (A) and imm8
byte (A) ← (A) and (ear)
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
*
*
*
*
R
R
R
R
R
–
–
–
–
–
–
–
–
–
*
A, ear
A, eam
ear, A
2+ 4+ (a)
(b) byte (A) ← (A) and (eam)
2
3
0
byte (ear) ← (ear) and (A)
eam, A
2+ 5+ (a)
2× (b) byte (eam) ← (eam) and (A)
OR
OR
OR
OR
OR
A, #imm8
A, ear
2
2
2
3
0
1
0
2
0
0
0
byte (A) ← (A) or imm8
byte (A) ← (A) or (ear)
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
*
*
*
*
R
R
R
R
R
–
–
–
–
–
–
–
–
–
*
A, eam
ear, A
2+ 4+ (a)
(b) byte (A) ← (A) or (eam)
2
3
0
byte (ear) ← (ear) or (A)
eam, A
2+ 5+ (a)
2× (b) byte (eam) ← (eam) or (A)
XOR
XOR
XOR
XOR
XOR
A, #imm8
A, ear
2
2
2
3
0
1
0
2
0
0
0
byte (A) ← (A) xor imm8
byte (A) ← (A) xor (ear)
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
*
*
*
*
R
R
R
R
R
–
–
–
–
–
–
–
–
–
*
A, eam
ear, A
2+ 4+ (a)
(b) byte (A) ← (A) xor (eam)
2
3
0
byte (ear) ← (ear) xor (A)
eam, A
2+ 5+ (a)
2× (b) byte (eam) ← (eam) xor (A)
NOT
NOT
NOT
A
ear
eam
1
2
2
3
0
2
0
0
0
byte (A) ← not (A)
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
R
R
R
–
–
–
–
–
*
byte (ear) ← not (ear)
2+ 5+ (a)
2× (b) byte (eam) ← not (eam)
ANDW
A
1
3
2
2
2
3
0
0
1
0
2
0
0
0
0
word (A) ← (AH) and (A)
word (A) ← (A) and imm16
word (A) ← (A) and (ear)
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
*
*
*
*
*
*
R
R
R
R
R
R
–
–
–
–
–
–
–
–
–
–
–
*
ANDW A, #imm16
ANDW A, ear
ANDW A, eam
ANDW ear, A
2+ 4+ (a)
(c) word (A) ← (A) and (eam)
word (ear) ← (ear) and (A)
2× (c) word (eam) ← (eam) and (A)
2
3
0
ANDW eam, A
2+ 5+ (a)
ORW
ORW
ORW
ORW
ORW
ORW
A
1
3
2
2
2
3
0
0
1
0
2
0
0
0
0
word (A) ← (AH) or (A)
word (A) ← (A) or imm16
word (A) ← (A) or (ear)
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
*
*
*
*
*
*
R
R
R
R
R
R
–
–
–
–
–
–
–
–
–
–
–
*
A, #imm16
A, ear
A, eam
ear, A
eam, A
2+ 4+ (a)
(c) word (A) ← (A) or (eam)
word (ear) ← (ear) or (A)
2× (c) word (eam) ← (eam) or (A)
2
3
0
2+ 5+ (a)
XORW
A
1
3
2
2
2
3
0
0
1
0
2
0
0
0
0
word (A) ← (AH) xor (A)
word (A) ← (A) xor imm16
word (A) ← (A) xor (ear)
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
*
*
*
*
*
*
R
R
R
R
R
R
–
–
–
–
–
–
–
–
–
–
–
*
XORW A, #imm16
XORW A, ear
XORW A, eam
XORW ear, A
2+ 4+ (a)
(c) word (A) ← (A) xor (eam)
word (ear) ← (ear) xor (A)
2× (c) word (eam) ← (eam) xor (A)
2
3
0
XORW eam, A
2+ 5+ (a)
NOTW
A
1
2
2
3
0
2
0
0
0
word (A) ← not (A)
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
R
R
R
–
–
–
–
–
*
NOTW ear
NOTW eam
word (ear) ← not (ear)
2+ 5+ (a)
2× (c) word (eam) ← not (eam)
Note: For an explanation of “(a)” to “(d)”, refer to Table 4, “Number of Execution Cycles for Each Type of Addressing,”
and Table 5, “Correction Values for Number of Cycles Used to Calculate Number of Actual Cycles.”
81