Table B.2.1i Logical 2 Instructions (Long-Word) (6 Instructions)
Mnemonic
ANDL
A,ear
ANDL
A,eam
ORL
A,ear
ORL
A,eam
XORL
A,ear
XORL
A,eam
Table B.2.1j Sign Inversion Instructions (Byte/Word) (6 Instructions)
Mnemonic
NEG
A
NEG
ear
NEG
eam
NEGW
A
NEGW
ear
NEGW
eam
Table B.2.1k Normalize Instruction (Long-Word) (1 Instruction)
Mnemonic
NRML
A,R0
*1:
4 when the contents of the accumulator are all zeroes, 6 + (R0) in all other cases.
Note: For an explanation of "(a)" to "(d)" in the colunm "B", see Table B.2d and Table B.2e.
MB90580 Series
#
~
RG
B
long (A) ← (A) and (ear)
2
6
2
0
long (A) ← (A) and (eam)
2+
7+(a)
0
(d)
long (A) ← (A) or (ear)
2
6
2
0
long (A) ← (A) or (eam)
2+
7+(a)
0
(d)
long (A) ← (A) xor (ear)
2
6
2
0
long (A) ← (A) xor (eam)
2+
7+(a)
0
(d)
#
RG
B
~
byte (A) ← 0 - (A)
1
2
0
0
byte (ear) ← 0 - (ear)
2
3
2
0
byte (eam) ← 0 - (eam)
2+
5+(a)
0
2+(b)
word (A) ← 0 - (A)
1
2
0
0
word (ear) ← 0 - (ear)
2
2
2
0
word (eam) ← 0 - (eam)
2+
5+(a)
0
2+(c)
#
~
RG
B
long (A) ← Shift to the
2
*1
1
0
position where 1 was
formerly placed
byte (R0) ← Number of shifts
at that time
Operation
LH
AH
-
-
-
-
-
-
-
-
-
-
-
-
Operation
LH
AH
X
-
-
-
-
-
-
-
-
-
-
-
Operation
LH
AH
-
-
B.2 Instruction Set
I
S
T
N
Z
V
∗
∗
-
-
-
R
∗
∗
-
-
-
R
∗
∗
-
-
-
R
∗
∗
-
-
-
R
∗
∗
-
-
-
R
∗
∗
-
-
-
R
I
S
T
N
Z
V
∗
∗
∗
-
-
-
∗
∗
∗
-
-
-
∗
∗
∗
-
-
-
∗
∗
∗
-
-
-
∗
∗
∗
-
-
-
∗
∗
∗
-
-
-
I
S
T
N
Z
V
∗
-
-
-
-
-
APPENDIX B: Instructions
C
RMW
-
-
-
-
-
-
-
-
-
-
-
-
C
RMW
∗
-
∗
-
∗
∗
∗
-
∗
-
∗
∗
C
RMW
-
-
327