89
MB90246A Series
Table 14 Logic 1 (Byte, Word) [39 Instructions
]
Note: For (a) to (c), refer to “Table 4 Number of Execution Cycles in Addressing Modes” and “Table 5 Correction
Values for Number of Cycles for Calculating Actual Number of Cycles.”
Mnemonic
#
~
B
Operation
LH AH
I
S
T
N
Z
V
C RMW
AND
AND
AND
AND
AND
A, #imm8
A, ear
A, eam
ear, A
eam, A
OR
OR
OR
OR
OR
A, #imm8
A, ear
A, eam
ear, A
eam, A
XOR
XOR
XOR
XOR
XOR
NOT
NOT
NOT
A, #imm8
A, ear
A, eam
ear, A
eam, A
A
ear
eam
2
2
2 +
2
2 +
2
2
2 +
2
2 +
2
2
2 +
2
2 +
1
2
2 +
2
2
3 + (a)
3
3 + (a)
2
2
3 + (a)
3
3 + (a)
2
2
3 + (a)
3
3 + (a)
2
2
3 + (a)
0
0
(b)
0
2
×
(b)
0
0
(b)
0
2
×
(b)
0
0
(b)
0
2
×
(b)
0
0
2
×
(b)
0
0
0
(c)
0
2
×
(c)
byte (A)
←
(A) and imm8
byte (A)
←
(A) and (ear)
byte (A)
←
(A) and (eam)
byte (ear)
←
(ear) and (A)
byte (eam)
←
(eam) and (A)
byte (A)
←
(A) or imm8
byte (A)
←
(A) or (ear)
byte (A)
←
(A) or (eam)
byte (ear)
←
(ear) or (A)
byte (eam)
←
(eam) or (A)
byte (A)
←
(A) xor imm8
byte (A)
←
(A) xor (ear)
byte (A)
←
(A) xor (eam)
byte (ear)
←
(ear) xor (A)
byte (eam)
←
(eam) xor (A)
byte (A)
←
not (A)
byte (ear)
←
not (ear)
byte (eam)
←
not (eam)
word (A)
←
(AH) and (A)
word (A)
←
(A) and imm16
word (A)
←
(A) and (ear)
word (A)
←
(A) and (eam)
word (ear)
←
(ear) and (A)
word (eam)
←
(eam) and (A)
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
–
–
–
*
*
–
–
–
*
*
–
*
*
ANDW A
ANDW A, #imm16
ANDW A, ear
ANDW A, eam
ANDW ear, A
ANDW eam, A
ORW
ORW
ORW
ORW
ORW
ORW
A
A, #imm16
A, ear
A, eam
ear, A
eam, A
XORW A
XORW A, #imm16
XORW A, ear
XORW A, eam
XORW ear, A
XORW eam, A
NOTW A
NOTW ear
NOTW eam
1
3
2
2 +
2
2 +
1
3
2
2 +
2
2 +
1
3
2
2 +
2
2 +
1
2
2 +
2
2
2
3 + (a)
3
3 + (a)
2
2
2
3 + (a)
3
3 + (a)
2
2
2
3 + (a)
3
3 + (a)
2
3
3 + (a)
0
0
0
(c)
0
2
×
(c)
0
0
0
(c)
0
2
×
(c)
0
0
2
×
(c)
word (A)
←
(AH) or (A)
word (A)
←
(A) or imm16
word (A)
←
(A) or (ear)
word (A)
←
(A) or (eam)
word (ear)
←
(ear) or (A)
word (eam)
←
(eam) or (A)
word (A)
←
(AH) xor (A)
word (A)
←
(A) xor imm16
word (A)
←
(A) xor (ear)
word (A)
←
(A) xor (eam)
word (ear)
←
(ear) xor (A)
word (eam)
←
(eam) xor (A)
word (A)
←
not (A)
word (ear)
←
not (ear)
word (eam)
←
not (eam)
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
–
–
–
–
*
*
–
–
–
–
*
*
–
*
*