Fujitsu MB90480 Series Hardware Manual page 638

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

APPENDIX
Table D.8-4 12 Increment/decrement Instructions (Byte, Word, Long Word)
Mnemonic
INC
ear
INC
eam
DEC
ear
DEC
eam
INCW
ear
INCW
eam
DECW
ear
DECW
eam
INCL
ear
INCL
eam
DECL
ear
DECL
eam
Note:
See Table D.5-1 and Table D.5-2 for information on (a) to (d) in the table.
Table D.8-5 11 Compare Instructions (Byte, Word, Long Word)
Mnemonic
CMP
A
CMP
A,ear
CMP
A,eam
CMP
A,#imm8
CMPW
A
CMPW
A,ear
CMPW
A,eam
CMPW
A,#imm16
CMPL
A,ear
CMPL
A,eam
CMPL
A,#imm32
Note:
See Table D.5-1 and Table D.5-2 for information on (a) to (d) in the table.
616
#
~
RG
B
2
3
2
0
2+
5+(a)
0
2 x (b)
2
3
2
0
2+
5+(a)
0
2 x (b)
2
3
2
0
2+
5+(a)
0
2 x (c)
2
3
2
0
2+
5+(a)
0
2 x (c)
2
7
4
0
2+
9+(a)
0
2 x (d)
2
7
4
0
2+
9+(a)
0
2 x (d)
#
~
RG
B
1
1
0
0
2
2
1
0
2+
3+(a)
0
(b)
2
2
0
0
1
1
0
0
2
2
1
0
2+
3+(a)
0
(c)
3
2
0
0
2
6
2
0
2+
7+(a)
0
(d)
5
3
0
0
Operation
byte (ear) ← (ear) + 1
byte (eam) ← (eam) + 1
byte (ear) ← (ear) - 1
byte (eam) ← (eam) - 1
word (ear) ← (ear) + 1
word (eam) ← (eam) + 1
word (ear) ← (ear) - 1
word (eam) ← (eam) - 1
long (ear) ← (ear) + 1
long (eam) ← (eam) + 1
long (ear) ← (ear) - 1
long (eam) ← (eam) - 1
Operation
byte (AH) - (AL)
byte (A) - (ear)
byte (A) - (eam)
byte (A) - imm8
word (AH) - (AL)
word (A) - (ear)
word (A) - (eam)
word (A) - imm16
long (A) - (ear)
long (A) - (eam)
long (A) - imm32
LH
AH
I
S
T
N
Z
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
LH
AH
I
S
T
N
Z
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
V
C
RMW
*
-
-
*
-
*
*
-
-
*
-
*
*
-
-
*
-
*
*
-
-
*
-
*
*
-
-
*
-
*
*
-
-
*
-
*
V
C
RMW
*
*
-
*
*
-
*
*
-
*
*
-
*
*
-
*
*
-
*
*
-
*
*
-
*
*
-
*
*
-
*
*
-

Advertisement

Table of Contents
loading

Table of Contents