Table B.2.1D Increment And Decrement Instructions (Byte/Word/Long-Word) (12 Instructions); Table B.2.1E Compare Instructions (Byte/Word/Long-Word) (11 Instructions) - Fujitsu F2MC-16LX MB90580 Series Hardware Manual

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

Advertisement

Table B.2.1d Increment and 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

Table B.2.1e Compare Instructions (Byte/Word/Long-Word) (11 Instructions)

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents