Table B.2.1H Logical 1 Instructions (Byte/Word) (39 Instructions) - Fujitsu F2MC-16LX MB90580 Series Hardware Manual

16-bit microcontrollers
Hide thumbs Also See for F2MC-16LX MB90580 Series:
Table of Contents

Advertisement

B.2 Instruction Set

Table B.2.1h Logical 1 Instructions (Byte/Word) (39 Instructions)

Mnemonic
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
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
Note: For an explanation of "(a)" to "(d)" in the colunm "B", see Table B.2d and Table B.2e.
326
APPENDIX B: Instructions
#
~
RG
B
byte (A) ← (A) and imm8
2
2
0
0
byte (A) ← (A) and (ear)
2
3
1
0
byte (A) ← (A) and (eam)
2+
4+(a)
0
(b)
byte (ear) ← (ear) and (A)
2
3
2
0
byte (eam) ← (eam) and (A)
2+
5+(a)
0
2×(b)
byte (A) ← (A) or imm8
2
2
0
0
byte (A) ← (A) or (ear)
2
3
1
0
byte (A) ← (A) or (eam)
2+
4+(a)
0
(b)
byte (ear) ← (ear) or (A)
2
3
2
0
byte (eam) ← (eam) or (A)
2+
5+(a)
0
2×(b)
byte (A) ← (A) xor imm8
2
2
0
0
byte (A) ← (A) xor (ear)
2
3
1
0
byte (A) ← (A) xor (eam)
2+
4+(a)
0
(b)
byte (ear) ← (ear) xor (A)
2
3
2
0
byte (eam) ← (eam) xor (A)
2+
5+(a)
0
2×(b)
byte (A) ← not (A)
1
2
0
0
byte (ear) ← not (ear)
2
3
2
0
byte (eam) ← not (eam)
2+
5+(a)
0
2×(b)
word (A) ← (AH) and (A)
1
2
0
0
word (A) ← (A) and imm16
3
2
0
0
word (A) ← (A) and (ear)
2
3
1
0
word (A) ← (A) and (eam)
2+
4+(a)
0
(c)
word (ear) ← (ear) and (A)
2
3
2
0
word (eam) ← (eam) and (A)
2+
5+(a)
0
2×(c)
word (A) ← (AH) or (A)
1
2
0
0
word (A) ← (A) or imm16
3
2
0
0
word (A) ← (A) or (ear)
2
3
1
0
word (A) ← (A) or (eam)
2+
4+(a)
0
(c)
word (ear) ← (ear) or (A)
2
3
2
0
word (eam) ← (eam) or (A)
2+
5+(a)
0
2×(c)
word (A) ← (AH) xor (A)
1
2
0
0
word (A) ← (A) xor imm16
3
2
0
0
word (A) ← (A) xor (ear)
2
3
1
0
word (A) ← (A) xor (eam)
2+
4+(a)
0
(c)
word (ear) ← (ear) xor (A)
2
3
2
0
word (eam) ← (eam) xor (A)
2+
5+(a)
0
2×(c)
word (A) ← not (A)
1
2
0
0
word (ear) ← not (ear)
2
3
2
0
word (eam) ← not (eam)
2+
5+(a)
0
2×(c)
Operation
LH
AH
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
I
S
T
N
Z
V
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
-
-
-
R
MB90580 Series
C
RMW
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
*
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx mb90v580F2mc-16lx mb90583F2mc-16lx mb90f583

Table of Contents