87
MB90210 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
IS
T
N
Z
V
C RMW
AND
A, #imm8
AND
A, ear
AND
A, eam
AND
ear, A
AND
eam, A
OR
A, #imm8
OR
A, ear
OR
A, eam
OR
ear, A
OR
eam, A
XOR
A, #imm8
XOR
A, ear
XOR
A, eam
XOR
ear, A
XOR
eam, A
NOT
A
NOT
ear
NOT
eam
2
2 +
2
2 +
2
2 +
2
2 +
2
2 +
2
2 +
1
2
2 +
2
3 + (a)
3
3 + (a)
2
3 + (a)
3
3 + (a)
2
3 + (a)
3
3 + (a)
2
3 + (a)
0
(b)
0
2
× (b)
0
(b)
0
2
× (b)
0
(b)
0
2
× (b)
0
2
× (b)
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)
–
*
R
–
*
–
*
–
*
–
*
ANDW A
ANDW A, #imm16
ANDW A, ear
ANDW A, eam
ANDW ear, A
ANDW eam, A
ORW
A
ORW
A, #imm16
ORW
A, ear
ORW
A, eam
ORW
ear, A
ORW
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
3 + (a)
3
3 + (a)
2
3 + (a)
3
3 + (a)
2
3 + (a)
3
3 + (a)
2
3
3 + (a)
0
(c)
0
2
× (c)
0
(c)
0
2
× (c)
0
(c)
0
2
× (c)
0
2
× (c)
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)
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
–
*
–
*
–
*
–
*