![](http://datasheet.mmic.net.cn/330000/MB90F574_datasheet_16437983/MB90F574_124.png)
124
MB90570 Series
Table 14 Logical 1 Instructions (Byte/Word) [39 Instructions
]
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.”
Mnemonic
#
~
RG
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
A, #imm8
A, ear
A, eam
ear, A
eam, A
NOT
NOT
NOT
A
ear
eam
2
2
2+
2
2+
2
2
2+
2
2+
2
2
2+
2
2+
1
2
2+
2
3
4+ (a)
3
5+ (a)
2
3
4+ (a)
3
5+ (a)
2
3
4+ (a)
3
5+ (a)
2
3
5+ (a)
0
1
0
2
0
0
1
0
2
0
0
1
0
2
0
0
2
0
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
3
4+ (a)
3
5+ (a)
2
2
3
4+ (a)
3
5+ (a)
2
2
3
4+ (a)
3
5+ (a)
2
3
5+ (a)
0
0
1
0
2
0
0
0
1
0
2
0
0
0
1
0
2
0
0
2
0
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
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
–
–
–
–
–
*
–
–
–
–
–
*
–
–
*